summaryrefslogtreecommitdiffstats
path: root/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-05-17 21:36:32 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-05-17 21:40:00 +0200
commitac6d834e2b4f02d656e38fe300b5c6404d1f75e6 (patch)
tree8ce13504d568098e3b37501c69c562ed3fb0d074 /application/models/file_mod.php
parent59b763e9896d6f6196a894c6d57d58ef9ddd6bc6 (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.php2
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) {