mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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/branches/2.0@3661 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user