diff options
author | Jamie Cressey <jamiecressey89@googlemail.com> | 2014-07-06 07:46:21 -0400 |
---|---|---|
committer | Jamie Cressey <jamiecressey89@googlemail.com> | 2014-07-06 07:46:21 -0400 |
commit | d8f4ce17848ac5aed7157adff17eecaf78601e49 (patch) | |
tree | 3d91347cc10d98862878b7429432de9f1dae22a6 /Log.class.php | |
parent | e31300547c71b567159456048a91b4d55f483db8 (diff) | |
download | php-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.php | 3 |
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; } /** |