summaryrefslogtreecommitdiffstats
path: root/application/models/file_mod.php
diff options
context:
space:
mode:
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) {