Add check on timezone
This commit is contained in:
parent
3f896ec4e5
commit
93678fa014
@ -45,3 +45,8 @@ if (! function_exists('curl_init') && ! ini_get('allow_url_fopen')) {
|
||||
if (! is_writable('data')) {
|
||||
die('The directory "data" must be writeable by your web server user');
|
||||
}
|
||||
|
||||
// If timezone is not set
|
||||
if (! ini_get('date.timezone')) {
|
||||
die('You must configure a timezone in you php.ini (date.timezone value)');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user