1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 09:14:58 +02:00

Add PR #239 fix typo in /wire/config.php for sessionAllow property

This commit is contained in:
pine3ree
2023-01-19 10:12:40 -05:00
committed by Ryan Cramer
parent b1d735170f
commit a5a2532a7d

View File

@@ -304,8 +304,8 @@ $config->sessionExpireSeconds = 86400;
* 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
* 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
* which is the ProcessWire instance.
* sessions on admin pages at minimum. The callable function receives a single $session argument
* which is the ProcessWire Session instance.
*
* 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.