Revision 286
Added by stefan almost 19 years ago
class.frontend.php | ||
---|---|---|
31 | 31 |
|
32 | 32 |
if(!defined('WB_PATH')) { |
33 | 33 |
header('Location: ../index.php'); |
34 |
exit(0); |
|
34 | 35 |
} |
35 | 36 |
|
36 | 37 |
|
... | ... | |
200 | 201 |
if($this->is_authenticated() == false) { |
201 | 202 |
// User needs to login first |
202 | 203 |
header("Location: ".WB_URL."/account/login".PAGE_EXTENSION.'?redirect='.$this->link); |
204 |
exit(0); |
|
203 | 205 |
} |
204 | 206 |
// Check if we should show this page |
205 | 207 |
if($this->show_page($this->page) == false) { |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.