change log file path
This commit is contained in:
1 parent
6ee15d7c32
commit
b75925dcc2
2 files changed
+3
-1
No files matched your search
@@ -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