fix missing namespace on warning

This commit is contained in:
Isaac Connor 2021-06-02 18:35:08 -04:00
parent 9a03c2c16a
commit e4d3394888
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ var server_utc_offset = <?php
$tz = ini_get('date.timezone'); $tz = ini_get('date.timezone');
if (!$tz) { if (!$tz) {
$tz = 'UTC'; $tz = 'UTC';
Warning('Timezone has not been set. Either select it in Options->System->Timezone or in php.ini'); ZM\Warning('Timezone has not been set. Either select it in Options->System->Timezone or in php.ini');
} }
$TimeZone = new DateTimeZone($tz); $TimeZone = new DateTimeZone($tz);