From 1e1b71c6f6102de04e5654ee04596a0dea616d32 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 29 Dec 2011 05:48:16 +0000 Subject: 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 --- include/config_default.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/config_default.inc.php') 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 -- cgit v1.2.3