mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-03 00:07:58 +02:00
MINOR Reverted accidental commit of date_default_timezone_set() to Pacific/Auckland (see r89164)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@103345 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7b4261ed38
commit
9ec8cb2a02
@ -17,7 +17,6 @@ $cacheOn = true;
|
|||||||
$cacheDebug = false;
|
$cacheDebug = false;
|
||||||
$hostmapLocation = '../subsites/host-map.php';
|
$hostmapLocation = '../subsites/host-map.php';
|
||||||
$homepageMapLocation = '../assets/_homepage-map.php';
|
$homepageMapLocation = '../assets/_homepage-map.php';
|
||||||
date_default_timezone_set('Pacific/Auckland');
|
|
||||||
|
|
||||||
if ($cacheOn && empty($_COOKIE['bypassStaticCache'])) {
|
if ($cacheOn && empty($_COOKIE['bypassStaticCache'])) {
|
||||||
if (isset($_GET['cacheSubdir']) && !preg_match('/[^a-zA-Z0-9\-_]/', $_GET['cacheSubdir'])) {
|
if (isset($_GET['cacheSubdir']) && !preg_match('/[^a-zA-Z0-9\-_]/', $_GET['cacheSubdir'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user