aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-01 16:20:24 +0000
committerplegall <plg@piwigo.org>2010-03-01 16:20:24 +0000
commit117baff95c113935b636e1759828462de290faa1 (patch)
treea84659b1e98b9a356f640c0f920f42105a1cdf3d /include/config_default.inc.php
parent2c2cfa0899695993c17867c52c4690d46fbfbadc (diff)
feature 1448 added: ability to set the upload directory (for pwg.images.add
API method). Warning: due to risk on img src construction, the upload_dir must be relative to the Piwigo directory itself. git-svn-id: http://piwigo.org/svn/branches/2.0@5013 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 822ef7c5e..06009c290 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -741,4 +741,7 @@ $conf['light_slideshow'] = true;
// the local data directory is used to store data such as compiled templates
// 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';
?> \ No newline at end of file