protected.php 136 B

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