2015-02-08 16:29:39 +00:00
|
|
|
<?php
|
|
|
|
|
2015-04-29 15:18:33 +00:00
|
|
|
namespace Controller;
|
|
|
|
use \FuzeWorks\Bus;
|
|
|
|
|
2015-02-08 16:29:39 +00:00
|
|
|
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');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|