aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 78d5fea54..b833f0bb5 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -761,8 +761,10 @@ $conf['light_slideshow'] = true;
// or other plugin variables etc
$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
-// where should the API add photos?
-$conf['upload_dir'] = PHPWG_ROOT_PATH.'upload';
+// where should the API/UploadForm add photos? This path must be relative to
+// the Piwigo installation directory (but can be outside, as long as it's
+// reachable from your webserver).
+$conf['upload_dir'] = './upload';
// where should the user be guided when there is no photo in his gallery yet?
$conf['no_photo_yet_url'] = 'admin.php?page=photos_add';