change log file path
This commit is contained in:
@@ -24,6 +24,8 @@ class LogManager
|
||||
self::$me->log->pushHandler(new StreamHandler(ini_get('error_log'), LOG_LEVEL));
|
||||
} else if(is_writable(iCLIENT_BASE_PATH.'data/app.log')){
|
||||
self::$me->log->pushHandler(new StreamHandler(CLIENT_BASE_PATH.'data/app.log', LOG_LEVEL));
|
||||
} else {
|
||||
self::$me->log->pushHandler(new StreamHandler(CLIENT_BASE_PATH.'/tmp/icehrm.log', LOG_LEVEL));
|
||||
}
|
||||
}
|
||||
return self::$me;
|
||||
|
||||
Reference in New Issue
Block a user