Revision 28
Added by stefan about 19 years ago
trunk/wb/account/preferences.php | ||
---|---|---|
25 | 25 |
|
26 | 26 |
require('../config.php'); |
27 | 27 |
|
28 |
if(!FRONTEND_LOGIN) { |
|
29 |
if(INTRO_PAGE) { |
|
30 |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION); |
|
31 |
} else { |
|
32 |
header('Location: '.WB_URL.'/index'.PAGE_EXTENSION); |
|
33 |
} |
|
34 |
} |
|
35 |
|
|
36 |
require_once(WB_PATH.'/framework/class.wb.php'); |
|
37 |
if (wb::is_authenticated()==false) { |
|
38 |
header('Location: '.WB_URL.'/account/login.php'); |
|
39 |
} |
|
40 |
|
|
28 | 41 |
// Required page details |
29 | 42 |
$page_id = 0; |
30 | 43 |
$page_description = ''; |
Also available in: Unified diff
Fixed bug concerning direct access of preferences page.