merge r3661 from branch 2.0 to trunk

feature 1071: improve log system on API calls. The log can be activated by a
configuration setting. The log file can be changed also with a configuration
setting.

improvement: pwg.images.add API methods gets a cleaner way to log received
parameters.

git-svn-id: http://piwigo.org/svn/trunk@3662 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2009-07-21 21:41:31 +00:00
parent b253200c95
commit 641caaa2f5
2 changed files with 21 additions and 19 deletions
+6
View File
@@ -654,6 +654,12 @@ $conf['enable_plugins']=true;
// Web services are allowed (true) or completely forbidden (false)
$conf['allow_web_services'] = true;
// enable log for web services
$conf['ws_enable_log'] = false;
// web services log file path
$conf['ws_log_filepath'] = '/tmp/piwigo_ws.log';
// Maximum number of images to be returned foreach call to the web service
$conf['ws_max_images_per_page'] = 500;