mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and move combined files and image derivatives from local to _data
git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -719,9 +719,10 @@ $conf['slideshow_repeat'] = true;
|
||||
// Every plugin from 1.7 would be design to manage light_slideshow case.
|
||||
$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';
|
||||
// the local data directory is used to store data such as compiled templates,
|
||||
// plugin variables, combined css/javascript or resized images. Beware of
|
||||
// mandatory trailing slash.
|
||||
$conf['data_location'] = '_data/';
|
||||
|
||||
// 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
|
||||
@@ -756,6 +757,5 @@ $conf['upload_form_automatic_rotation'] = true;
|
||||
// 0-'auto', 1-'derivative' 2-'script'
|
||||
$conf['derivative_url_style']=0;
|
||||
|
||||
$conf['chmod_value']=0777;
|
||||
|
||||
$conf['chmod_value']= substr_compare(PHP_SAPI, 'apa', 0, 3)==0 ? 0777 : 0755;
|
||||
?>
|
||||
Reference in New Issue
Block a user