mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
Standards enforcing
This commit is contained in:
parent
44d5dec06f
commit
9a59878190
1 changed files with 3 additions and 2 deletions
|
@ -720,10 +720,11 @@ function logger($msg, $level = 0) {
|
|||
|
||||
if (count($LOGGER_LEVELS) == 0) {
|
||||
foreach (get_defined_constants() as $k => $v) {
|
||||
if (substr($k, 0, 7) == "LOGGER_")
|
||||
if (substr($k, 0, 7) == "LOGGER_") {
|
||||
$LOGGER_LEVELS[$v] = substr($k, 7, 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$process_id = session_id();
|
||||
|
||||
|
|
Loading…
Reference in a new issue