mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-30 20:35:44 +09:00
Adding user deletion and some fixes
This commit is contained in:
5 files changed
+187
-18
No files matched your search
@@ -17,6 +17,16 @@
|
||||
return session_id();
|
||||
}
|
||||
|
||||
public static function has($name) : bool {
|
||||
self::init();
|
||||
|
||||
if(isset($_SESSION[$name])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function get($name) : bool | int | float | string | array | object | null {
|
||||
self::init();
|
||||
|
||||
|
||||
Reference in new issue
Block a user