aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/index.php b/index.php
index 8f26c390..1e255583 100644
--- a/index.php
+++ b/index.php
@@ -1489,7 +1489,22 @@ function renderPage($conf, $pluginManager, $LINKSDB)
1489 1489
1490 if (! isset($_POST['token']) || ! isset($_FILES['filetoupload'])) { 1490 if (! isset($_POST['token']) || ! isset($_FILES['filetoupload'])) {
1491 // Show import dialog 1491 // Show import dialog
1492 $PAGE->assign('maxfilesize', get_max_upload_size(ini_get('post_max_size'), ini_get('upload_max_filesize'))); 1492 $PAGE->assign(
1493 'maxfilesize',
1494 get_max_upload_size(
1495 ini_get('post_max_size'),
1496 ini_get('upload_max_filesize'),
1497 false
1498 )
1499 );
1500 $PAGE->assign(
1501 'maxfilesizeHuman',
1502 get_max_upload_size(
1503 ini_get('post_max_size'),
1504 ini_get('upload_max_filesize'),
1505 true
1506 )
1507 );
1493 $PAGE->renderPage('import'); 1508 $PAGE->renderPage('import');
1494 exit; 1509 exit;
1495 } 1510 }