Revision 278
Added by stefan almost 19 years ago
trunk/wb/account/forgot.php | ||
---|---|---|
23 | 23 |
|
24 | 24 |
*/ |
25 | 25 |
|
26 |
require('../config.php'); |
|
26 |
require_once('../config.php');
|
|
27 | 27 |
|
28 | 28 |
// Required page details |
29 | 29 |
$page_id = 0; |
trunk/wb/account/preferences.php | ||
---|---|---|
23 | 23 |
|
24 | 24 |
*/ |
25 | 25 |
|
26 |
require('../config.php'); |
|
26 |
require_once('../config.php');
|
|
27 | 27 |
|
28 | 28 |
if(!FRONTEND_LOGIN) { |
29 | 29 |
if(INTRO_PAGE) { |
trunk/wb/account/signup.php | ||
---|---|---|
23 | 23 |
|
24 | 24 |
*/ |
25 | 25 |
|
26 |
require('../config.php'); |
|
26 |
require_once('../config.php');
|
|
27 | 27 |
|
28 | 28 |
if(!is_numeric(FRONTEND_SIGNUP)) { |
29 | 29 |
if(INTRO_PAGE) { |
trunk/wb/framework/class.login.php | ||
---|---|---|
61 | 61 |
$this->forgotten_details_app = $config_array['FORGOTTEN_DETAILS_APP']; |
62 | 62 |
$this->max_username_len = $config_array['MAX_USERNAME_LEN']; |
63 | 63 |
$this->max_password_len = $config_array['MAX_PASSWORD_LEN']; |
64 |
$this->redirect_url = $config_array['REDIRECT_URL']; |
|
64 |
if (array_key_exists('REDIRECT_URL',$config_array)) |
|
65 |
$this->redirect_url = $config_array['REDIRECT_URL']; |
|
66 |
else |
|
67 |
$this->redirect_url = ''; |
|
65 | 68 |
// Get the supplied username and password |
66 | 69 |
if ($this->get_post('username_fieldname') != ''){ |
67 | 70 |
$username_fieldname = $this->get_post('username_fieldname'); |
trunk/wb/framework/class.frontend.php | ||
---|---|---|
56 | 56 |
var $website_title,$website_description,$website_keywords,$website_header,$website_footer; |
57 | 57 |
|
58 | 58 |
// ugly database stuff |
59 |
var $extra_where_sql; |
|
59 |
var $extra_where_sql, $sql_where_language;
|
|
60 | 60 |
|
61 | 61 |
function page_select() { |
62 | 62 |
global $page_id,$no_intro; |
Also available in: Unified diff
Fixed some notices and warnings.