aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorLukas Schauer2020-12-27 14:58:55 +0100
committerLukas Schauer2020-12-27 14:58:55 +0100
commit228da728257c2f2c4e059c8d0e5fef5f4ae2e36c (patch)
treea62d40ca8d8d564d5c40e5691a12909dbe08340f /index.php
parent9eb1778a4404e8de6c087ecab0661d33d691c3d7 (diff)
add the worlds most ugliest caching code
Diffstat (limited to '')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 1c0df61..35db28f 100644
--- a/index.php
+++ b/index.php
@@ -70,6 +70,7 @@ try {
$route = rtrim($route, '/');
$GLOBALS['forceopen'] = isset($_GET['forceopen']);
+ $GLOBALS['regenschedcache'] = isset($_GET['regenschedcache']) && !isset($_SERVER['HTTP_X_REAL_IP']);
// generic template
$tpl = new PhpTemplate('template/page.phtml');