- bin.php frontal command
This commit is contained in:
Emmanuel ROY 2021-06-09 09:53:51 +02:00
commit ae43c2e6bb
2 changed files with 17 additions and 17 deletions

View file

@ -49,8 +49,9 @@ class Error
}
}
$write_string = ob_get_clean();
file_put_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . "output" . DIRECTORY_SEPARATOR . ENV . DIRECTORY_SEPARATOR . "errors".$date->format("Y-m-d").".log", $write_string);
file_put_contents(OUTPUT_PATH . DIRECTORY_SEPARATOR . "output" . DIRECTORY_SEPARATOR . ENV . DIRECTORY_SEPARATOR . "errors".$date->format("Y-m-d").".log", $write_string);
return;
}
}