Browse Source

js_upload reporting 43k file too big

pull/1/head
Friendika 11 years ago
parent
commit
c9225a691b
  1. 6
      addon/js_upload/js_upload.php
  2. 2
      boot.php

6
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');

2
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 );

Loading…
Cancel
Save