* @link http://www.globtec.eti.br * @since 12/09/2008 * @copyright Copyright (c) 2008, GlobTec (http://www.globtec.eti.br) */ /** * @see libs_Smarty */ require_once("libs/Smarty.class.php"); /** * @see controle_GeralCtrl */ require_once("controle/GeralCtrl.class.php"); /** * @see controle_OperacaoCtrl */ require_once("controle/OperacaoCtrl.class.php"); /** * @name ErroCtrl */ class ErroCtrl { /* Atributos */ /** * @var object */ private $smarty; /** * @var object */ private $geral; /* Metodos */ /** * Construtor */ public function __construct () { $this->smarty = new Smarty(); $this->geral = new GeralCtrl($this->smarty); header("HTTP/1.1 404 Not Found"); $this->smarty->display('404.tpl'); exit; } /** * Destrutor */ public function __destruct () { } /* Getters e Setters */ } // Instancia da classe $erroCtrl = new ErroCtrl(); ?>