basson / kohana-3.2-elfinder

Elfinder module for Kohana 3.2
0 stars 0 forks source link

Question #1

Open jean-git opened 10 years ago

jean-git commented 10 years ago

how i could add one logger when upload or remove file?

i was try to make like this https://github.com/Studio-42/elFinder/wiki/Logging but i could not.

in my config/elfinder.php i put 'bind' => array('mkdir mkfile rename duplicate upload rm paste' => 'logger'), and in my controller: Controller_Elfinder i put: function logger($cmd, $result, $args, $elfinder)

could you help me?

thanks best regards Jean

basson commented 10 years ago

Adding in /modules/elfinder/vender/elFinder.ini.php this require_once 'elFinderLogger.php'; and create create file /modules/elfinder/vender/elFinderLogger.php put in elFinderLogger.php function logger($cmd, $result, $args, $elfinder). A function logger to change the $logfile = DOCROOT. 'log.txt';

Can wait for later, I'll add a module bind and the working example with logs.

jean-git commented 10 years ago

thanks for your help, i see that really don't method bind in your class... but i'll wait... very nice your project...

Jean Em 31/08/2013 10:46, "Denis Kazachenkov" notifications@github.com escreveu:

Adding in /modules/elfinder/vender/elFinder.ini.php this require_once 'elFinderLogger.php'; and create create file /modules/elfinder/vender/elFinderLogger.php put in elFinderLogger.php function logger($cmd, $result, $args, $elfinder). A function logger to change the $logfile = DOCROOT. 'log.txt';

Can wait for later, I'll add a module bind and the working example with logs.

— Reply to this email directly or view it on GitHubhttps://github.com/basson/kohana-3.2-elfinder/issues/1#issuecomment-23606559 .