fix PHP Warning: Use of undefined constant EGW_ACL_READ - assumed 'EGW_ACL_READ'

This commit is contained in:
Ralf Becker 2020-01-09 14:40:52 +01:00
parent 3258121a15
commit 257fa50a1f

View File

@ -194,11 +194,11 @@ class Egw extends Egw\Base
if ($GLOBALS['egw_info']['flags']['currentapp'] != 'login' && $GLOBALS['egw_info']['flags']['currentapp'] != 'logout')
{
$this->define_egw_constants();
$this->verify_session();
$this->applications->read_installed_apps(); // to get translated app-titles, has to be after verify_session
$this->define_egw_constants();
$this->check_app_rights();
$this->load_optional_classes();