sforkowany z mirror/friendica
Standards enforcing
rodzic
44d5dec06f
commit
9a59878190
|
@ -719,9 +719,10 @@ function logger($msg, $level = 0) {
|
|||
}
|
||||
|
||||
if (count($LOGGER_LEVELS) == 0) {
|
||||
foreach (get_defined_constants() as $k => $v){
|
||||
if (substr($k, 0, 7) == "LOGGER_")
|
||||
foreach (get_defined_constants() as $k => $v) {
|
||||
if (substr($k, 0, 7) == "LOGGER_") {
|
||||
$LOGGER_LEVELS[$v] = substr($k, 7, 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue