Check for definition of ZM_TIMEZONE before using it. Fixes #2895
This commit is contained in:
parent
a555e09cad
commit
3bfcd8eb33
|
@ -193,7 +193,7 @@ if ( ! defined('ZM_SERVER_ID') ) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( ZM_TIMEZONE )
|
||||
if ( defined('ZM_TIMEZONE') and ZM_TIMEZONE )
|
||||
ini_set('date.timezone', ZM_TIMEZONE);
|
||||
|
||||
function process_configfile($configFile) {
|
||||
|
|
Loading…
Reference in New Issue