bug #281
This commit is contained in:
parent
34ac72cffd
commit
330a876d81
3 changed files with 8 additions and 3 deletions
|
|
@ -428,8 +428,10 @@ if(! function_exists('logger')) {
|
|||
function logger($msg,$level = 0) {
|
||||
// turn off logger in install mode
|
||||
global $a;
|
||||
if ($a->module == 'install') return;
|
||||
|
||||
global $db;
|
||||
|
||||
if(($a->module == 'install') || (! ($db && $db->connected))) return;
|
||||
|
||||
$debugging = get_config('system','debugging');
|
||||
$loglevel = intval(get_config('system','loglevel'));
|
||||
$logfile = get_config('system','logfile');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue