summaryrefslogtreecommitdiffstats
path: root/user_guide/general
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-09-04 14:55:28 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-09-04 14:55:28 +0200
commite3f33942387909350d15adb1fa87d926fd5d8d03 (patch)
treec664dfc53ac219247c7aa256362e31d85e105fb9 /user_guide/general
parent2eb2557bf1c438d8fb7d612dbb76c6676eaec4d6 (diff)
Removed reference is IS_CLI in the documentation, which should have been $this->input->is_cli_request()
Diffstat (limited to 'user_guide/general')
-rw-r--r--user_guide/general/cli.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/general/cli.html b/user_guide/general/cli.html
index befc9994a..222a77c9d 100644
--- a/user_guide/general/cli.html
+++ b/user_guide/general/cli.html
@@ -83,7 +83,7 @@ Running via the CLI
<ul>
<li>Run your cron-jobs without needing to use wget or curl</li>
- <li>Make your cron-jobs inaccessible from being loaded in the URL by checking for <kbd>IS_CLI</kbd></li>
+ <li>Make your cron-jobs inaccessible from being loaded in the URL by checking for <kbd>$this->input->is_cli_request()</kbd></li>
<li>Make interactive "tasks" that can do things like set permissions, prune cache folders, run backups, etc.</li>
<li>Integrate with other applications in other languages. For example, a random C++ script could call one command and run code in your models!</li>
</ul>