Revision 1719
Added by Luisehahne over 12 years ago
preferences.php | ||
---|---|---|
3 | 3 |
* |
4 | 4 |
* @category frontend |
5 | 5 |
* @package account |
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2011, Website Baker Org. e.V. |
|
6 |
* @author Ryan Djurovich, WebsiteBaker Project |
|
7 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
9 | 8 |
* @link http://www.websitebaker2.org/ |
10 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
11 | 10 |
* @platform WebsiteBaker 2.8.x |
... | ... | |
19 | 18 |
require_once('../config.php'); |
20 | 19 |
|
21 | 20 |
if(!FRONTEND_LOGIN) { |
22 |
if(INTRO_PAGE) { |
|
23 |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php'); |
|
24 |
exit(0); |
|
25 |
} else { |
|
26 | 21 |
header('Location: '.WB_URL.'/index.php'); |
27 | 22 |
exit(0); |
28 |
} |
|
23 |
// if(INTRO_PAGE) { |
|
24 |
// header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php'); |
|
25 |
// exit(0); |
|
26 |
// } else { |
|
27 |
// header('Location: '.WB_URL.'/index.php'); |
|
28 |
// exit(0); |
|
29 |
// } |
|
29 | 30 |
} |
30 | 31 |
|
31 | 32 |
require_once(WB_PATH.'/framework/class.frontend.php'); |
33 |
|
|
32 | 34 |
$wb_inst = new wb(); |
33 | 35 |
if ($wb_inst->is_authenticated()==false) { |
34 | 36 |
header('Location: '.WB_URL.'/account/login.php'); |
Also available in: Unified diff
! beginning update frontend account
! remove html markup from code