mirror of
https://github.com/silverstripe/silverstripe-staticpublisher
synced 2024-10-22 14:05:54 +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
|
||||
// Request is not POST (which would have to be handled dynamically)
|
||||
&& count($_POST) == 0
|
||||
&& count($_GET) <= 1
|
||||
) {
|
||||
// Define system paths (copied from Core.php)
|
||||
if(!defined('BASE_PATH')) {
|
||||
|
Loading…
Reference in New Issue
Block a user