ttrss/classes/handler.php

24 lines
316 B
PHP

<?php
class Handler implements IHandler {
protected $pdo;
protected $args;
function __construct($args) {
$this->pdo = Db::pdo();
$this->args = $args;
}
function csrf_ignore(string $method): bool {
return false;
}
function before($method) {
return true;
}
function after() {
return true;
}
}