Closed vlad-ghita closed 10 years ago
I have an excluded page like
contact/*
However, this url won't be excluded from caching:
site.com/contact/city
Line 458 should be changed from this:
elseif(substr($r, -1) == '*' && strncasecmp($path, $r, strlen($r) - 1) == 0) {
to this
elseif(substr($r, -1) == '*' && strncasecmp($path, $r, strlen($r) - 2) == 0) {
Notice the -2 value (previously -1).
-2
@vlad-ghita I know this os old, but just to confirm, the -2 is for '/*' am I right ?
I think so, yes.
Thanks for the quick response mate! I'll be working on this today :smile:
I have an excluded page like
However, this url won't be excluded from caching:
Line 458 should be changed from this:
to this
Notice the
-2
value (previously -1).