Standards enforcing
This commit is contained in:
@@ -720,10 +720,11 @@ function logger($msg, $level = 0) {
|
|||||||
|
|
||||||
if (count($LOGGER_LEVELS) == 0) {
|
if (count($LOGGER_LEVELS) == 0) {
|
||||||
foreach (get_defined_constants() as $k => $v) {
|
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);
|
$LOGGER_LEVELS[$v] = substr($k, 7, 7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$process_id = session_id();
|
$process_id = session_id();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user