diff options
Diffstat (limited to 'system/application')
-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 76f4ba228..5678bd3d1 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -165,7 +165,7 @@ class File_mod extends Model { header("HTTP/1.1 304 Not Modified"); header('Etag: "'.$etag.'"'); } else { - if ($mode && $mode != 'plain' + if ($mode && $mode != 'plain' && $mode != 'qr' && $this->mime2extension($type) && filesize($file) <= $this->config->item('upload_max_text_size') ) { |