Core/Application/Controller/controller.standard.php

21 lines
438 B
PHP

<?php
class Standard extends Bus {
public function __construct(&$core) {
parent::__construct($core);
}
public function index($path = null) {
$this->layout->view('maintenance');
}
public function not_found($path = null) {
$this->logger->http_error(404);
$this->layout->assign('page', $_SERVER['REQUEST_URI']);
$this->layout->assign('mail', $this->config->main->administrator_mail);
$this->layout->view('404');
}
}
?>