From 257fa50a1f9f02e8af2ad292d9d7fc5229aaed34 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 Jan 2020 14:40:52 +0100 Subject: [PATCH] fix PHP Warning: Use of undefined constant EGW_ACL_READ - assumed 'EGW_ACL_READ' --- api/src/Egw.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Egw.php b/api/src/Egw.php index 7ad4f73c7f..0a60b3182d 100644 --- a/api/src/Egw.php +++ b/api/src/Egw.php @@ -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();