Check for definition of ZM_TIMEZONE before using it. Fixes #2895

This commit is contained in:
Isaac Connor 2020-04-02 14:00:36 -04:00
parent a555e09cad
commit 3bfcd8eb33
1 changed files with 1 additions and 1 deletions

View File

@ -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) {