summaryrefslogtreecommitdiffstats
path: root/application/controllers/Main.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/Main.php')
-rw-r--r--application/controllers/Main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php
index 31100f3d7..2e8ab3851 100644
--- a/application/controllers/Main.php
+++ b/application/controllers/Main.php
@@ -19,7 +19,7 @@ class Main extends MY_Controller {
function index()
{
- if ($this->input->is_cli_request()) {
+ if (is_cli()) {
output_cli_usage();
exit;
}