defined( '_JEXEC' ) or die( 'Restricted access' );
// Load and Inititialize Gantry Class
global $gantry;
require_once(dirname(__FILE__) . '/lib/gantry/gantry.php');
$gantry->init();
$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$_format = JFactory::getApplication()->input->get('format', 'html');
if ($_format != "html") {
header("HTTP/1.0 404 Not Found");
die();
}
The following users have thanked you: Johnnie K2
// load and inititialize gantry class
global $gantry;
require_once(dirname(__FILE__) . '/lib/gantry/gantry.php');
$gantry->init();
$doc = JFactory::getDocument();
$doc->setTitle($this->error->getCode() . ' - '.$this->title);
$_format = JFactory::getApplication()->input->get('format', 'html');
if ($_format != "html") {
header("HTTP/1.0 404 Not Found");
die();
}
The following users have thanked you: Hola789432, Daniel Benson
defined( '_JEXEC' ) or die( 'Restricted access' );
// Load and Inititialize Gantry Class
global $gantry;
require_once(dirname(__FILE__) . '/lib/gantry/gantry.php');
$gantry->init();
$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$_format = JFactory::getApplication()->input->get('format', 'html');
if ($_format != "html") {
header("HTTP/1.0 404 Not Found");
die();
}
Time to create page: 0.068 seconds