summaryrefslogtreecommitdiffstats
path: root/Log.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'Log.class.php')
-rw-r--r--Log.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Log.class.php b/Log.class.php
index 6d6aa63..4c066c3 100644
--- a/Log.class.php
+++ b/Log.class.php
@@ -12,8 +12,9 @@
# @void, Default Constructor, Sets the timezone and path of the log files.
public function __construct() {
+ global $root;
date_default_timezone_set('Europe/Amsterdam');
- $this->path = dirname(__FILE__) . $this->path;
+ $this->path = $root.$this->path;
}
/**