diff --git a/wire/config.php b/wire/config.php index 1ff57ec7..1ca24e0e 100644 --- a/wire/config.php +++ b/wire/config.php @@ -300,7 +300,7 @@ $config->sessionExpireSeconds = 86400; * if($session->hasCookie()) return true; * * // if URL is an admin URL, allow session (replace /processwire/ with your admin URL) - * if(strpos($config->requestPath(), '/processwire/) === 0) return true; + * if(strpos($config->requestPath(), '/processwire/') === 0) return true; * * // otherwise disallow session * return false;