From 7a4d3de93df645b5e156c94e179d20ff8b4c1152 Mon Sep 17 00:00:00 2001 From: Remo in het Veld Date: Mon, 14 Dec 2015 14:32:51 +0100 Subject: [PATCH] Update 6.cache_whole_website.php Typo in REQUESR > REQUEST --- examples/6.cache_whole_website.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/6.cache_whole_website.php b/examples/6.cache_whole_website.php index 8a3bdf722..3b6ecb156 100644 --- a/examples/6.cache_whole_website.php +++ b/examples/6.cache_whole_website.php @@ -17,7 +17,7 @@ // no caching for some special page; // $_SERVER['REQUEST_URI']; -if(strpos($_SERVER['REQUESR_URI'],"contact") !== false || strpos($_SERVER['REQUESR_URI'],"login") !== false || strpos($_SERVER['REQUESR_URI'],"register") !== false ) { +if(strpos($_SERVER['REQUEST_URI'],"contact") !== false || strpos($_SERVER['REQUEST_URI'],"login") !== false || strpos($_SERVER['REQUEST_URI'],"register") !== false ) { $caching = false; } @@ -59,4 +59,4 @@ __c("files")->set($keyword_webpage,$html, 1800); } -echo $html; \ No newline at end of file +echo $html;