Skip to content

Commit c0615b7

Browse files
committed
Merge pull request #155 from remowashere/patch-1
Update 6.cache_whole_website.php
2 parents aeb7760 + 7a4d3de commit c0615b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/6.cache_whole_website.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
// no caching for some special page;
1919
// $_SERVER['REQUEST_URI'];
20-
if(strpos($_SERVER['REQUESR_URI'],"contact") !== false || strpos($_SERVER['REQUESR_URI'],"login") !== false || strpos($_SERVER['REQUESR_URI'],"register") !== false ) {
20+
if(strpos($_SERVER['REQUEST_URI'],"contact") !== false || strpos($_SERVER['REQUEST_URI'],"login") !== false || strpos($_SERVER['REQUEST_URI'],"register") !== false ) {
2121
$caching = false;
2222
}
2323

@@ -59,4 +59,4 @@
5959
__c("files")->set($keyword_webpage,$html, 1800);
6060
}
6161

62-
echo $html;
62+
echo $html;

0 commit comments

Comments
 (0)