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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user