mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Add PR #239 fix typo in /wire/config.php for sessionAllow property
This commit is contained in:
@@ -304,8 +304,8 @@ $config->sessionExpireSeconds = 86400;
|
|||||||
* Use this to determine at runtime whether or not a session is allowed for the current request.
|
* Use this to determine at runtime whether or not a session is allowed for the current request.
|
||||||
* Otherwise, this should always be boolean TRUE. When using this option, we recommend
|
* Otherwise, this should always be boolean TRUE. When using this option, we recommend
|
||||||
* providing a callable function like below. Make sure that you put in some logic to enable
|
* providing a callable function like below. Make sure that you put in some logic to enable
|
||||||
* sessions on admin pages at minimum. The callable function receives a single $wire argument
|
* sessions on admin pages at minimum. The callable function receives a single $session argument
|
||||||
* which is the ProcessWire instance.
|
* which is the ProcessWire Session instance.
|
||||||
*
|
*
|
||||||
* Note that the API is not fully ready when this function is called, so the current $page and
|
* Note that the API is not fully ready when this function is called, so the current $page and
|
||||||
* the current $user are not yet known, nor is the $input API variable available.
|
* the current $user are not yet known, nor is the $input API variable available.
|
||||||
|
Reference in New Issue
Block a user