Skip to content

reference:U isRegisterOpen

Aaron Junker edited this page Apr 10, 2021 · 4 revisions

Function $U->isRegisterOpen():bool

This function checks if the sessionuser can access the registration page.

For true following things need to be true:

  • $_SESSION["User_ID"] needs not to be set (User not logged in).
  • Setting login.register_open needs to be set to on.
  • Setting login.login_open needs to be set to on.

Arguments

None

Return value

Example

isRegisterOpen();

Clone this wiki locally