handler.php 344 B

12345678910111213141516171819202122232425
  1. <?php
  2. class Handler implements IHandler {
  3. protected $dbh;
  4. protected $pdo;
  5. protected $args;
  6. function __construct($args) {
  7. $this->dbh = Db::get();
  8. $this->pdo = Db::pdo();
  9. $this->args = $args;
  10. }
  11. function csrf_ignore($method) {
  12. return true;
  13. }
  14. function before($method) {
  15. return true;
  16. }
  17. function after() {
  18. return true;
  19. }
  20. }