From cb8b733a6c2333ff90d3af0fc37e8c21c73d9e7a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Apr 2012 11:22:03 +0200 Subject: Move is_cli_client() and random_id() to helper Signed-off-by: Florian Pritz --- application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers/file.php') diff --git a/application/controllers/file.php b/application/controllers/file.php index e693a8667..e5e984b21 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -36,7 +36,7 @@ class File extends CI_Controller { $this->var->latest_client = trim(file_get_contents(FCPATH.'data/client/latest')); } - $this->var->cli_client = $this->file_mod->is_cli_client(); + $this->var->cli_client = is_cli_client(); if ($this->var->cli_client) { $this->var->view_dir = "file_plaintext"; -- cgit v1.2.3-24-g4f1b