diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-05-17 21:36:32 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-05-17 21:40:00 +0200 |
commit | ac6d834e2b4f02d656e38fe300b5c6404d1f75e6 (patch) | |
tree | 8ce13504d568098e3b37501c69c562ed3fb0d074 /application/models/file_mod.php | |
parent | 59b763e9896d6f6196a894c6d57d58ef9ddd6bc6 (diff) |
improve is_cli_client() and use everywhere
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/file_mod.php')
-rw-r--r-- | application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php index 9157f8eca..f203f8ef9 100644 --- a/application/models/file_mod.php +++ b/application/models/file_mod.php @@ -134,7 +134,7 @@ class File_mod extends CI_Model { } } - if ($this->var->cli_client) { + if (is_cli_client()) { $redirect = false; } if ($redirect) { |