Merge pull request #3474 from laf/validate-fix

fix php 5.4 in validate
This commit is contained in:
Daniel Preussker
2016-05-03 10:07:27 +02:00
+2 -1
View File
@@ -152,7 +152,8 @@ if(strstr($strict_mode, 'STRICT_TRANS_TABLES')) {
print_warn('You have MySQL STRICT_TRANS_TABLES enabled, it is advisable to disable this until full support has been added: https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html');
}
if (empty(ini_get('date.timezone'))) {
$tz = ini_get('date.timezone');
if (empty($tz)) {
print_fail('You have no timezone set for php: http://php.net/manual/en/datetime.configuration.php#ini.date.timezone');
}