Revision 547
Added by Matthias almost 17 years ago
class.frontend.php | ||
---|---|---|
201 | 201 |
// Check if the user is authenticated |
202 | 202 |
if($this->is_authenticated() == false) { |
203 | 203 |
// User needs to login first |
204 |
header("Location: ".WB_URL."/account/login".PAGE_EXTENSION.'?redirect='.$this->link);
|
|
204 |
header("Location: ".WB_URL."/account/login.php?redirect=".$this->link);
|
|
205 | 205 |
exit(0); |
206 | 206 |
} |
207 | 207 |
// Check if we should show this page |
... | ... | |
250 | 250 |
// Work-out if login menu constants should be set |
251 | 251 |
if(FRONTEND_LOGIN) { |
252 | 252 |
// Set login menu constants |
253 |
define('LOGIN_URL', WB_URL.'/account/login'.PAGE_EXTENSION);
|
|
254 |
define('LOGOUT_URL', WB_URL.'/account/logout'.PAGE_EXTENSION);
|
|
255 |
define('FORGOT_URL', WB_URL.'/account/forgot'.PAGE_EXTENSION);
|
|
256 |
define('PREFERENCES_URL', WB_URL.'/account/preferences'.PAGE_EXTENSION);
|
|
257 |
define('SIGNUP_URL', WB_URL.'/account/signup'.PAGE_EXTENSION);
|
|
253 |
define('LOGIN_URL', WB_URL.'/account/login.php');
|
|
254 |
define('LOGOUT_URL', WB_URL.'/account/logout.php');
|
|
255 |
define('FORGOT_URL', WB_URL.'/account/forgot.php');
|
|
256 |
define('PREFERENCES_URL', WB_URL.'/account/preferences.php');
|
|
257 |
define('SIGNUP_URL', WB_URL.'/account/signup.php');
|
|
258 | 258 |
} |
259 | 259 |
} |
260 | 260 |
|
Also available in: Unified diff
Reintroduced changes from changeset [520] and [540] wich where overwritten by changeset [546]
Revoked changeset [541] end removed all PAGE_EXTENSION variables and the related option in WB settings as this function only works on Apache Servers together with .htaccess and mod_rewrite
Added keywords to file menu_link/uninstall.php