summaryrefslogtreecommitdiffstats
path: root/system/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-07-19 20:28:55 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-07-19 20:28:55 +0200
commitb07875f49909b2292e3b980f2e262dcfa49b8603 (patch)
treec51412290c8b5c20c46bc38a25a2bfe3ca25ff52 /system/application/models/file_mod.php
parentccdaa517885b2a3ce1b399a0346fc1ff8e760f83 (diff)
also generate QR codes for text
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.php2
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')
) {