exit() after using access-file

This commit is contained in:
Tobias Reich 2016-01-24 22:30:57 +01:00
parent aeb62bba48
commit 412fbf47ee

View File

@ -55,18 +55,18 @@ if (!empty($fn)) {
$admin = new Admin();
$admin->check($fn);
} else {
###
# Guest Access
# Access to view all public folders and photos in Lychee.
###
$guest = new Guest();
$guest->check($fn);
exit();
}
###
# Guest Access
# Access to view all public folders and photos in Lychee.
###
$guest = new Guest();
$guest->check($fn);
} else {
exit('Error: No API function specified!');