Chris
135958c9f0
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
17 lines
274 B
PHP
17 lines
274 B
PHP
<?php
|
|
|
|
class Err extends Page {
|
|
|
|
function notfound($params=false)
|
|
{
|
|
$this->set("page",$params[0]);
|
|
$this->set('template', "notfound.html");
|
|
|
|
}
|
|
|
|
function notallowed()
|
|
{
|
|
return json_encode(['error'=>'not allowed']);
|
|
}
|
|
|
|
} |