Skip to content
Snippets Groups Projects
Commit c88d4daf authored by Antonin's avatar Antonin
Browse files

PHP5.4 compatibility for empty() function.

parent 31812042
No related branches found
No related tags found
No related merge requests found
......@@ -124,14 +124,14 @@ if (extension_loaded('openssl')) {
}
// Datetime
if (!empty(ini_get('date.timezone'))) {
$timezone = ini_get('date.timezone');
if (!empty($timezone)) {
$messages[] = new Message('info', __('Check','date.timezone is set.'));
} else {
$messages[] = new Message('warning', __('Check','Consider setting the date.timezone in php.ini.'));
}
// The percentage of steps needed to be ready to launch the application
$errors = 0;
$warnings = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment