diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:27 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:27 +0200 |
commit | 6be5f77331a82d0154f1ed82b07b64917c2a102d (patch) | |
tree | 1acb182462f012a8e9307f9e641817a59d07771f /application/controllers/Main.php | |
parent | ccca699ba61bad35afea2bb6f7881d301ad05709 (diff) |
Remove secondary controller for CLI usage output
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/Main.php')
-rw-r--r-- | application/controllers/Main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php index 19cb63d4f..2422d96bf 100644 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -20,8 +20,8 @@ class Main extends MY_Controller { function index() { if ($this->input->is_cli_request()) { - $this->load->library("../controllers/tools"); - return $this->tools->index(); + output_cli_usage(); + exit; } // Try to guess what the user would like to do. |