aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/upload.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/upload.php b/pages/upload.php
index b6a828cf9..7ac4930b5 100644
--- a/pages/upload.php
+++ b/pages/upload.php
@@ -14,7 +14,12 @@ if (!$album_guid) {
forward();
}
-$uploader = get_input('uploader', 'ajax');
+if (get_plugin_setting('uploader', 'tidypics') != "disabled") {
+ $uploader = get_input('uploader', 'ajax');
+} else {
+ $uploader = 'basic';
+}
+
$album = get_entity($album_guid);