}
}
- // FIXME!
- //$configStr .= 'date_default_timezone_set('.var_export($conf['timezone'], true).');'. PHP_EOL;
-
if (!file_put_contents($filepath, $configStr)
|| strcmp(file_get_contents($filepath), $configStr) != 0
) {
$pluginManager = PluginManager::getInstance();
$pluginManager->load($conf->get('config.ENABLED_PLUGINS'));
+date_default_timezone_set($conf->get('timezone', 'UTC'));
+
ob_start(); // Output buffering for the page cache.
// In case stupid admin has left magic_quotes enabled in php.ini: