diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-09 11:22:03 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:48:14 +0200 |
commit | cb8b733a6c2333ff90d3af0fc37e8c21c73d9e7a (patch) | |
tree | df73e68d134ba5100e454d2da41b6276dc4eb5c8 /application/controllers/file.php | |
parent | 2f149783585b88033f425a2ef4a0fdb06c8fb9f9 (diff) |
Move is_cli_client() and random_id() to helper
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r-- | application/controllers/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |