From b8dc5f388be2a7e13ae3511e7ac5aeec878b1c19 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 27 Jul 2016 21:50:49 +0000 Subject: [PATCH] Increased max upload file size limit. --- WEB-INF/templates/footer.tpl | 2 +- import.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 90d5eb58..5092d4a1 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.28.3520 | Copyright © Anuko | +  Anuko Time Tracker 1.9.28.3521 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/import.php b/import.php index 23715e08..ce6aa723 100644 --- a/import.php +++ b/import.php @@ -37,8 +37,8 @@ if (!ttAccessCheck(right_administer_site)) { } $form = new Form('importForm'); -$form->addInput(array('type'=>'upload','name'=>'xmlfile','value'=>'browse','maxsize'=>16777216)); // 16 MB file upload limit. -// Note: for the above limit to work make sure to set upload_max_filesize and post_max_size in php.ini to at least 16M. +$form->addInput(array('type'=>'upload','name'=>'xmlfile','value'=>'browse','maxsize'=>67108864)); // 64 MB file upload limit. +// Note: for the above limit to work make sure to set upload_max_filesize and post_max_size in php.ini to at least 64M. $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getKey('button.import'))); if ($request->isPost()) { -- 2.20.1