1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34:
<?php
/**
* @author PHPShop Software
* @version 1.0
* @package PHPShopCore
*/
class PHPShopError extends PHPShopCore {
/**
*/
function __construct() {
parent::__construct();
}
function index() {
$this->title = '404';
//
$hook=$this->setHook(__CLASS__, __FUNCTION__);
if($hook)
return $hook;
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");
$this->parseTemplate($this->getValue('templates.error_page_forma'));
}
}
?>