Update security.php
This commit is contained in:
parent
2fa5e429ef
commit
f55be70e5e
|
@ -297,3 +297,15 @@ if(!function_exists("check_current_user_name")) {
|
|||
return $current_user_name;
|
||||
}
|
||||
}
|
||||
|
||||
if(!function_exists("get_user_profile")) {
|
||||
function get_user_profile() {
|
||||
$user_profile = array(
|
||||
"user_name" => check_current_user_name();
|
||||
);
|
||||
return $user_profile;
|
||||
}
|
||||
}
|
||||
|
||||
// start session (enable $_SESSION)
|
||||
session_start();
|
||||
|
|
Loading…
Reference in New Issue
Block a user