Code cleanup
This commit is contained in:
4
www/extern/egg/Logger.php
vendored
4
www/extern/egg/Logger.php
vendored
@@ -84,7 +84,7 @@ class SessionLogger implements ILogger
|
||||
{
|
||||
if (session_status() === PHP_SESSION_DISABLED) return;
|
||||
|
||||
$_SESSION[$this->sessionvar] .= $text . "\r\n";
|
||||
$_SESSION[$this->sessionvar] .= $text . "\n";
|
||||
session_commit();
|
||||
}
|
||||
}
|
||||
@@ -96,7 +96,7 @@ class OutputLogger implements ILogger
|
||||
if ($text !== '') $text = '[' . date('H:i:s') . '] ' . $text;
|
||||
|
||||
print $text;
|
||||
print "\r\n";
|
||||
print "\n";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user