added timezone check before install
This commit is contained in:
parent
6c340f17b2
commit
d02d4a9f1a
@ -65,10 +65,12 @@ class intaro_intarocrm extends CModule
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!date_default_timezone_get()) {
|
||||
if (!ini_get('date.timezone')) {
|
||||
$APPLICATION->ThrowException(GetMessage("DATE_TIMEZONE_ERR"));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
include($this->INSTALL_PATH . '/../classes/general/RestApi.php');
|
||||
include($this->INSTALL_PATH . '/../classes/general/ICrmOrderActions.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user