1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00

Add PR #176 to fix typo in wire/config.php

This commit is contained in:
derixithy
2021-05-07 14:08:53 -04:00
committed by Ryan Cramer
parent 9ed333c187
commit d8a5352ab9

View File

@@ -300,7 +300,7 @@ $config->sessionExpireSeconds = 86400;
* if($session->hasCookie()) return true; * if($session->hasCookie()) return true;
* *
* // if URL is an admin URL, allow session (replace /processwire/ with your admin URL) * // 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 * // otherwise disallow session
* return false; * return false;