aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-08 21:55:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-08 21:55:14 -0300
commitdd5335583618235ec9df212f0c3a80277955dc7d (patch)
treea377223ba3bd18255f0331f89abf4ef75606a68b /www
parent7645875214b7cc60016e44d9b218699a193c60e4 (diff)
downloadsemanticscuttle-dd5335583618235ec9df212f0c3a80277955dc7d.tar.gz
semanticscuttle-dd5335583618235ec9df212f0c3a80277955dc7d.tar.bz2
Fix: try to fix bookmark import size limit
Diffstat (limited to 'www')
-rw-r--r--www/importNetscape.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/importNetscape.php b/www/importNetscape.php
index 9a52407..909305d 100644
--- a/www/importNetscape.php
+++ b/www/importNetscape.php
@@ -33,6 +33,10 @@ isset($_POST['status']) ? define('POST_STATUS', $_POST['status']): define('POST_
$countImportedBookmarks = 0;
$tplVars['msg'] = '';
+if ($userservice->isLoggedOn() && sizeof($_FILES)) {
+print_r($_FILES['userfile']);
+}
+
if ($userservice->isLoggedOn() && sizeof($_FILES) > 0 && $_FILES['userfile']['size'] > 0) {
$userinfo = $userservice->getCurrentObjectUser();