Chris
3bb9f4ea76
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s
20 lines
326 B
PHP
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;
|
|
}
|
|
} |