-
Notifications
You must be signed in to change notification settings - Fork 349
Enable log debug in PHP connector
simogeo edited this page Feb 13, 2013
·
6 revisions
If you have any problem using filemanager you may want to see what's happening on the server-side.
It's now possible to log actions. To do so, there is two ways.
Edit your config.filemanager.js file, set logger
value to true and if you want to change the default path file ('/tmp/filemanager.log') add the key logfile
with the desired value - see example below :
"logger": true, "logfile": "C:/filemanager_log.txt"
just edit the filemanager.php file and add the following instructions just after creating the Filemanager obejct :
$fm = new Filemanager(); // object creation
$fm->enableLog('/path/to/the/desired/file');
Notice that, by default, logs are located into /tmp/filemanager.log
file.