summaryrefslogtreecommitdiffstats
path: root/user_guide
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-10-27 12:39:39 +0200
commitfd82e02ee3636ed7feeedfeefeef794cf77c3a70 (patch)
treebdc7c77a6987c8ab579463ae0ec7f4692c655cdc /user_guide
parent9744670222ba409c05a857c61daf0a0a5fac8774 (diff)
Removed reference is IS_CLI in the documentation, which should have been $this->input->is_cli_request()
Diffstat (limited to 'user_guide')
-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 70ab13802..5dda24b56 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>