From c9225a691b8e54c85f2f12f1d37ff4c2aa12e139 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 13 Aug 2011 16:05:03 -0700 Subject: [PATCH] js_upload reporting 43k file too big --- addon/js_upload/js_upload.php | 6 +++--- boot.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addon/js_upload/js_upload.php b/addon/js_upload/js_upload.php index 331548f880..1996b85040 100644 --- a/addon/js_upload/js_upload.php +++ b/addon/js_upload/js_upload.php @@ -298,10 +298,10 @@ class qqFileUploader { return array('error' => t('Uploaded file is empty')); } - if ($size > $this->sizeLimit) { +// if ($size > $this->sizeLimit) { - return array('error' => t('Uploaded file is too large')); - } +// return array('error' => t('Uploaded file is too large')); +// } $maximagesize = get_config('system','maximagesize'); diff --git a/boot.php b/boot.php index 76b80ce046..587e082b44 100644 --- a/boot.php +++ b/boot.php @@ -7,7 +7,7 @@ require_once('include/text.php'); require_once("include/pgettext.php"); -define ( 'FRIENDIKA_VERSION', '2.2.1070' ); +define ( 'FRIENDIKA_VERSION', '2.2.1071' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); define ( 'DB_UPDATE_VERSION', 1079 );