diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-06-12 12:41:54 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-06-12 12:41:54 +0200 |
commit | e601f848718b576d4f2aabfb8e14e4b9ca35e5a0 (patch) | |
tree | b7a9825715c7fbec1dbaa7c870228108f73998be /system/application/models/file_mod.php | |
parent | 39a760b1266e43175ad271da39898659df0231e4 (diff) |
add support for client update warnings
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/models/file_mod.php')
-rw-r--r-- | system/application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 0541d5d2b..faa9740dd 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -104,7 +104,7 @@ class File_mod extends Model { $data['url'] = site_url($id).'/'; } - if (strstr($_SERVER['HTTP_USER_AGENT'], 'libcurl')) { + if ($this->var->cli_client) { echo $data['url']."\n"; } else { $this->load->view('file/header', $data); |