Skip to content

Commit

Permalink
Fix logger path (#2935)
Browse files Browse the repository at this point in the history
* [console] Read alias as array.

* [console] Remove no longer required instruction.

* [logger] Fix log file path.
  • Loading branch information
jmolivas authored Nov 13, 2016
1 parent ff216ac commit 13f2b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct($root) {
}

protected function init($root) {
$loggerFile = $root.'console/log/' . date('Y-m-d') . '.log';
$loggerFile = $root.'/console/log/' . date('Y-m-d') . '.log';
if (!is_file($loggerFile)) {
try {
$directoryName = dirname($loggerFile);
Expand Down

0 comments on commit 13f2b08

Please sign in to comment.