summaryrefslogtreecommitdiffstats
path: root/Log.class.php
diff options
context:
space:
mode:
authorJamie Cressey <jamiecressey89@googlemail.com>2014-07-06 07:46:21 -0400
committerJamie Cressey <jamiecressey89@googlemail.com>2014-07-06 07:46:21 -0400
commitd8f4ce17848ac5aed7157adff17eecaf78601e49 (patch)
tree3d91347cc10d98862878b7429432de9f1dae22a6 /Log.class.php
parente31300547c71b567159456048a91b4d55f483db8 (diff)
downloadphp-mysql-pdo-database-class-d8f4ce17848ac5aed7157adff17eecaf78601e49.zip
php-mysql-pdo-database-class-d8f4ce17848ac5aed7157adff17eecaf78601e49.tar.gz
php-mysql-pdo-database-class-d8f4ce17848ac5aed7157adff17eecaf78601e49.tar.bz2
Update logs path
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;
}
/**