Replaced echo with exit
This commit is contained in:
parent
87350448e0
commit
64a7972cb5
@ -133,8 +133,7 @@ if ((isset($_SESSION['login'])&&$_SESSION['login']===true)&&
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Don't go further if the user is not logged in
|
// Don't go further if the user is not logged in
|
||||||
echo('You have to be logged in to see more information.');
|
exit('You have to be logged in to see more information.');
|
||||||
exit();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,8 +57,7 @@ if ((isset($_SESSION['login'])&&$_SESSION['login']===true)&&
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Don't go further if the user is not logged in
|
// Don't go further if the user is not logged in
|
||||||
echo('You have to be logged in to see the log.');
|
exit('You have to be logged in to see the log.');
|
||||||
exit();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user