Added check for php.ini timezone being set

This commit is contained in:
laf
2016-04-26 13:08:21 +00:00
parent 7066c27b0a
commit ad45ade8a0
+2 -5
View File
@@ -136,11 +136,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');
}
// Test for MySQL InnoDB buffer size
$innodb_buffer = innodb_buffer_check();
if ($innodb_buffer['used'] > $innodb_buffer['size']) {
print_warn("Your Innodb buffer is full, consider increasing its size");
echo warn_innodb_buffer($innodb_buffer);
if (empty(ini_get('date.timezone'))) {
print_fail('You have no timezone set for php: http://php.net/manual/en/datetime.configuration.php#ini.date.timezone');
}
// Test transports