Don't assign logger by reference
This commit is contained in:
parent
5f1763b13e
commit
c4ee7bec83
|
@ -20,7 +20,7 @@ class EvoLog
|
|||
return;
|
||||
}
|
||||
|
||||
$logger = &Log::singleton('file', $conf['log']['name'] ,'evoadmin');
|
||||
$logger = Log::singleton('file', $conf['log']['name'] ,'evoadmin');
|
||||
$logger->log($message, $priority);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue