Skip to content

Commit

Permalink
Fix bug in __constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayn0 committed Feb 9, 2017
1 parent b1cb72d commit d049c9a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Log/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ class Log
**/
private $log_file = 'logfile.log';
private $file_handle = null;
private $log_verbosity = self::INFO;

private $ds = DIRECTORY_SEPARATOR;

private $log_verbosity = self::INFO;

/**
* Class constructor
Expand All @@ -55,6 +52,7 @@ public function __construct($log_dir='/tmp/', $log_level=self::INFO)
{
// Today's date
$today = date("Y-m-d", time());
$ds = DIRECTORY_SEPARATOR;

$log_directory = rtrim($log_dir, '\\/');

Expand Down

0 comments on commit d049c9a

Please sign in to comment.