Revision 1088
Added by Matthias over 15 years ago
preferences.php | ||
---|---|---|
36 | 36 |
} |
37 | 37 |
|
38 | 38 |
require_once(WB_PATH.'/framework/class.wb.php'); |
39 |
if (wb::is_authenticated()==false) { |
|
39 |
$wb_inst = new wb(); |
|
40 |
if ($wb_inst->is_authenticated()==false) { |
|
40 | 41 |
header('Location: '.WB_URL.'/account/login.php'); |
41 | 42 |
exit(0); |
42 | 43 |
} |
Also available in: Unified diff
Fixed E_ALL&E_STRICT warning on PHP5 servers (Thanks to Aldus)