This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
dogstats/web/api/pages/err/controller.php
Chris f85f354ee7
All checks were successful
Build and push / Pulling repo on server (push) Has been skipped
fine tuning
2023-10-20 20:41:49 +02:00

20 lines
326 B
PHP

<?php
class Err extends Page {
function notfound($params)
{
$this->set("page",$params[0]);
$this->set('template', "notfound.mustache");
}
function notallowed()
{
return json_encode(['error'=>'not allowed']);
}
function maySeeThisPage()
{
return true;
}
}