Last active
December 15, 2015 20:19
-
-
Save hertsch/5317258 to your computer and use it in GitHub Desktop.
WebsiteBaker/Lepton: if an intro page and frontend login/logout is used at a logout the user will be redirected to the info page 'Website Under Construction'. To redirect the user to the intro page you must fix a problem in /account/logout.php as described below.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in /account/logout.php replace line 50-57 with the following code: | |
if(INTRO_PAGE) { | |
// header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php'); | |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/intro.php'); | |
} else { | |
header('Location: '.WB_URL.'/index.php'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment