diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-12-29 05:48:16 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-12-29 05:48:16 +0000 |
commit | 1e1b71c6f6102de04e5654ee04596a0dea616d32 (patch) | |
tree | 1145317096610e5d5039b11d955b43c662636351 /include/config_default.inc.php | |
parent | 5331c7f9401ee96fcf8f7aee6cb74c03fb5cdcb5 (diff) |
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
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r-- | include/config_default.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index e01f3a7c8..c1329b96f 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -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; ?>
\ No newline at end of file |