PHP 5.3 compatibility, upgrade Smarty to 2.6.26
This commit is contained in:
@@ -316,4 +316,10 @@ if (!isset($serendipity['serendipityPath'])) {
|
||||
|
||||
$serendipity['indexFile'] = 'index.php';
|
||||
|
||||
if (function_exists('date_default_timezone_get')) {
|
||||
// We currently offer no Timezone setting (only offset to UTC), so we
|
||||
// rely on the OS' timezone.
|
||||
date_default_timezone_set(date_default_timezone_get());
|
||||
}
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
|
Reference in New Issue
Block a user