<?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;
    }
}