From d8978f969093cc1d244a4a293d8135f0a4029109 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 21 Sep 2017 18:03:09 +0200 Subject: Remove usage of deprecated is_cli_request() Signed-off-by: Florian Pritz --- application/controllers/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers/Main.php') 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; } -- cgit v1.2.3-24-g4f1b