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 fa8f53e6d4
commit abd89c436c

View File

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