From ced34cb15e095836767971aa4d27b141fb1d7ec9 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 18 Oct 2014 08:47:54 -0400
Subject: [PATCH] Merge pull request #230 from bytesatwork-xx/master

---
 plugins/debug_logger/debug_logger.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/debug_logger/debug_logger.php b/plugins/debug_logger/debug_logger.php
index 88237d7..07190e5 100644
--- a/plugins/debug_logger/debug_logger.php
+++ b/plugins/debug_logger/debug_logger.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);
 

--
Gitblit v1.9.1