update log file name to include sapi name.
This commit is contained in:
parent
4355a334f7
commit
6674b34a64
|
@ -30,7 +30,9 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Log::useDailyFiles(__DIR__.'/../storage/logs/log.txt');
|
$logFile = 'log-'.php_sapi_name().'.txt';
|
||||||
|
|
||||||
|
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue