quiten "Couldnt find constant jdots_framework::LOGIN_TEMPLATE_SET"

This commit is contained in:
Ralf Becker 2014-05-12 11:56:59 +00:00
parent e4424718a7
commit 8f366aaf2f

View File

@ -106,7 +106,7 @@ else
$prefs->read_repository(); $prefs->read_repository();
$class = $prefs->data['common']['template_set'].'_framework'; $class = $prefs->data['common']['template_set'].'_framework';
if (class_exists($class) && constant($class.'::LOGIN_TEMPLATE_SET')) if (class_exists($class) && @constant($class.'::LOGIN_TEMPLATE_SET'))
{ {
$GLOBALS['egw_info']['server']['template_set'] = $GLOBALS['egw_info']['server']['template_set'] =
$GLOBALS['egw_info']['login_template_set'] = $prefs->data['common']['template_set']; $GLOBALS['egw_info']['login_template_set'] = $prefs->data['common']['template_set'];