mirror of
https://github.com/silverstripe/silverstripe-staticpublisher
synced 2024-06-13 16:29:08 +02:00
GET parameters should fall through cache
This commit is contained in:
parent
6d84b1e049
commit
4504fd0900
1
main.php
1
main.php
|
@ -61,6 +61,7 @@ if (
|
||||||
&& count(array_diff(array_keys($_GET), array('url', 'cacheSubdir'))) == 0
|
&& count(array_diff(array_keys($_GET), array('url', 'cacheSubdir'))) == 0
|
||||||
// Request is not POST (which would have to be handled dynamically)
|
// Request is not POST (which would have to be handled dynamically)
|
||||||
&& count($_POST) == 0
|
&& count($_POST) == 0
|
||||||
|
&& count($_GET) <= 1
|
||||||
) {
|
) {
|
||||||
// Define system paths (copied from Core.php)
|
// Define system paths (copied from Core.php)
|
||||||
if(!defined('BASE_PATH')) {
|
if(!defined('BASE_PATH')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user