File: app/example/controller/errorcontroller.class.php

Recommend this page to a friend!
  Classes of Carlos Eduardo Barcelos Amaral  >  Base MVC Framework  >  app/example/controller/errorcontroller.class.php  >  Download  
File: app/example/controller/errorcontroller.class.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Base MVC Framework
MVC framework to be the base of Web applications
Author: By
Last change: Base - 1.0.0-alpha.5.1.2

Correções diversas
Date: 5 years ago
Size: 257 bytes
 

Contents

Class file image Download
<?php
namespace Controller;
use \
Core\Controller;
/**
* Error
*/
class ErrorController extends Controller {

   function
index($message = NULL) {
      return
$this->load->view('errors/filenotfound', [
        
'url' => $this->request->url
     
]);
   }
}

For more information send a message to info at phpclasses dot org.