Update functions.php

This commit is contained in:
tripathyr 2021-11-11 13:30:30 +05:30 committed by GitHub
parent ce6e2ae22f
commit 67009848c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,10 @@ function redirect_to($url=null) {
}
function checkLoginStatus() {
if($_SESSION['authenticated'] != true) {
return false;
if($_SESSION['authenticated'] == true) {
return true;
}
return true;
return false;
}
function extract_int($string) {