summaryrefslogtreecommitdiffstats
path: root/user_guide/general
diff options
context:
space:
mode:
authorDarren Hill <dchill42@gmail.com>2011-09-12 13:57:04 +0200
committerDarren Hill <dchill42@gmail.com>2011-09-12 13:57:04 +0200
commit00fcb545109d4e61bc14e403ec828749c34a54b3 (patch)
tree336473d0e3a85ce90cc463784f631c3d52462605 /user_guide/general
parent826675178c2c2ad697e5ac55161645abd9143bef (diff)
parent869e3721d75e9798a706d24d93170f44e5ab6cb3 (diff)
Updated cookie driver to latest develop changes
Diffstat (limited to 'user_guide/general')
-rw-r--r--user_guide/general/cli.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/general/cli.html b/user_guide/general/cli.html
index befc9994a..4e9bf8709 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>
@@ -114,7 +114,7 @@ class Tools extends CI_Controller {
<p>Instead, we are going to open Terminal in Mac/Lunix or go to Run > "cmd" in Windows and navigate to our CodeIgniter project.</p>
<blockquote>
- $ cd /path/to/project;<br/>
+ $ cd /path/to/project;<br />
$ php index.php tools message
</blockquote>
@@ -147,4 +147,4 @@ Next Topic:&nbsp;&nbsp;<a href="reserved_names.html">Reserved Names</a></p>
</div>
</body>
-</html> \ No newline at end of file
+</html>