protected.php 139 B

12345678
  1. <?php
  2. class Handler_Protected extends Handler {
  3. function before($method) {
  4. return parent::before($method) && $_SESSION['uid'];
  5. }
  6. }
  7. ?>