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;