Added admin module
This commit is contained in:
parent
22b90ea1f6
commit
fd88fff9d2
90 changed files with 13954 additions and 19 deletions
18
modules/admin/libraries/login.php
Normal file
18
modules/admin/libraries/login.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace PhangoModule\Admin;
|
||||
|
||||
function login() {
|
||||
|
||||
|
||||
if(isset($_SESSION['phango_login'])) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue