exit() after using access-file
This commit is contained in:
parent
aeb62bba48
commit
412fbf47ee
@ -55,7 +55,9 @@ if (!empty($fn)) {
|
|||||||
$admin = new Admin();
|
$admin = new Admin();
|
||||||
$admin->check($fn);
|
$admin->check($fn);
|
||||||
|
|
||||||
} else {
|
exit();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
# Guest Access
|
# Guest Access
|
||||||
@ -65,8 +67,6 @@ if (!empty($fn)) {
|
|||||||
$guest = new Guest();
|
$guest = new Guest();
|
||||||
$guest->check($fn);
|
$guest->check($fn);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
exit('Error: No API function specified!');
|
exit('Error: No API function specified!');
|
||||||
|
Loading…
Reference in New Issue
Block a user