Changeset 54 for trunk/index.php
- Timestamp:
- Feb 1, 2020, 1:57:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r51 r54 40 40 function IsAdmin() 41 41 { 42 return ( $_SESSION['IsAdmin'] == 1);42 return (array_key_exists('IsAdmin', $_SESSION) and ($_SESSION['IsAdmin'] == 1)); 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.