ttrss/classes/handler.php

24 lines
316 B
PHP
Raw Normal View History

2011-12-12 19:32:29 +00:00
<?php
class Handler implements IHandler {
2017-12-01 12:31:16 +00:00
protected $pdo;
2011-12-12 19:32:29 +00:00
protected $args;
function __construct($args) {
2017-12-01 12:31:16 +00:00
$this->pdo = Db::pdo();
2011-12-12 19:32:29 +00:00
$this->args = $args;
}
function csrf_ignore(string $method): bool {
return false;
2011-12-26 08:02:52 +00:00
}
function before($method) {
2011-12-12 19:32:29 +00:00
return true;
}
2011-12-12 20:20:53 +00:00
function after() {
return true;
}
}