stop PHP Notice: Undefined index "currentapp" in pre 16.1 header

This commit is contained in:
Ralf Becker 2016-10-06 11:56:56 +02:00
parent 617bc9531c
commit bd94afe8db

View File

@ -260,6 +260,7 @@ if (file_exists($config['header']) && filesize($config['header']) >= 200) // def
$GLOBALS['egw_info'] = array(
'flags' => array(
'noapi' => true,
'currentapp' => 'login', // stop PHP Notice: Undefined index "currentapp" in pre 16.1 header
)
);
include $config['header'];