Restructuring unit/integration tests

This commit is contained in:
gamonoid
2017-09-05 08:07:33 +02:00
parent a0aacba4f5
commit d793d3575b
9 changed files with 56 additions and 73605 deletions

View File

@@ -22,10 +22,8 @@ class LogManager
self::$me->log = new Logger(APP_NAME);
if (is_writable(ini_get('error_log'))) {
self::$me->log->pushHandler(new StreamHandler(ini_get('error_log'), LOG_LEVEL));
} else if(is_writable(iCLIENT_BASE_PATH.'data/app.log')){
} else if(is_writable(CLIENT_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('/tmp/icehrm.log', LOG_LEVEL));
}
}
return self::$me;