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