Aleksander Machniak
2016-03-28 46f7b7096450939fe03c95aa81ce06ae4bfca89d
plugins/debug_logger/debug_logger.php
@@ -18,7 +18,7 @@
 * @version @package_version@
 * @author Ziba Scott
 * @website http://roundcube.net
 *
 *
 * Example:
 *
 * config.inc.php:
@@ -66,8 +66,8 @@
{
    function init()
    {
        require_once(dirname(__FILE__).'/runlog/runlog.php');
        $this->runlog = new runlog();
        require_once(__DIR__ . '/runlog/runlog.php');
        $this->runlog = new runlog();
        if(!rcmail::get_instance()->config->get('log_dir')){
            rcmail::get_instance()->config->set('log_dir',INSTALL_PATH.'logs');
@@ -83,10 +83,10 @@
        $action = rcmail::get_instance()->action;
        $task = rcmail::get_instance()->task;
        if($action){
               $start_string .= "Action: ".$action.". ";
               $start_string .= "Action: ".$action.". ";
        }
        if($task){
               $start_string .= "Task: ".$task.". ";
               $start_string .= "Task: ".$task.". ";
        }
        $this->runlog->start($start_string);