Simple PHP api for SnipeIT app. Not maintained anymore; check out BinStack instead: https://source.netsyms.com/Business/BinStack and https://netsyms.biz/binstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

dieifnotloggedin.php 226B

123456789
  1. <?php
  2. /**
  3. * Simple way to block people that aren't logged in.
  4. */
  5. require_once 'required.php';
  6. if ($_SESSION['loggedin'] !== true || is_empty($_SESSION['user'])) {
  7. sendError('You must be logged in to continue.', true);
  8. }