fixed logger setup

This commit is contained in:
Steffen Schröder 2014-06-20 16:20:03 +02:00
parent f4b67accde
commit 1f905e2b3f

View File

@ -22,7 +22,7 @@ class Logger {
* Set the Error Log File Name * Set the Error Log File Name
*/ */
private static function setupErrorLogFileName() { private static function setupErrorLogFileName() {
$logsFolder = self::createLogsFolder(); $logsFolder = self::getLogsFolder();
if ($logsFolder) { if ($logsFolder) {
$logFileName = $logsFolder . 'ManiaControl'; $logFileName = $logsFolder . 'ManiaControl';
if (LOG_NAME_USE_DATE) { if (LOG_NAME_USE_DATE) {