mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
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
This commit is contained in:
@@ -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';
|
||||
?>
|
||||
Reference in New Issue
Block a user