Creating a non-login page switch
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
Please post any phpBB 3.1.x related topics in the forum.
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Creating a non-login page switch
It will not work, because $_SERVER['SCRIPT_NAME'] will not include the query string (the $_GET parameters). Just use defined('IN_LOGIN') instead.
- we're poor!
Re: Creating a non-login page switch
thanks igor
Return to “phpBB 3.0.x "Olympus" discussion”
Who is online
Users browsing this forum: No registered users and 4 guests