Location: PHPKode > projects > ASf MVC > asf-mvc/asmvc/sysfiles/controllers/error.php
<?php
/***
 * Name:	AlexSnet's framework MVC
 * About:	An MVC application framework for PHP
 * Copyright:	(C) 2008, Sudo me.
 * Author:	Alex Snet, me [at] alexsnet [dot] ru
 * Site:	http://alexsnet.ru/
 ***/

// ------------------------------------------------------------------------
 
/**
 * error.php
 *
 * default ERROR application controller
 *
 * @package		ASfMVC
 * @author		Alex Snet
 */

class Error_Controller extends Controller
{
  function index()
  {
  	$this->view->assign('PAGE',$_SERVER['REQUEST_URI']);
        $this->view->assign('TITLE','Sorry, page not found');
        
        $this->view->display('404_error');
  }
  function _call($f,$p)
  {
        $this->index($p);
  }
}

?>
Return current item: ASf MVC