Your IP : 216.73.216.168


Current Path : /home/poliximo/public_html/templates/yoo_aurora/
Upload File :
Current File : /home/poliximo/public_html/templates/yoo_aurora/error.php

<?php
/**
* @package   yoo_aurora
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// get warp
$warp = require(__DIR__.'/warp.php');

// set messages
$title   = $this->title;
$error   = $this->error->getCode();
$message = $this->error->getMessage();

// set 404 messages
if ($error == '404') {
    $title   = JText::_('TPL_WARP_404_PAGE_TITLE');
    $message = JText::sprintf('TPL_WARP_404_PAGE_MESSAGE', JURI::root(false), $warp['config']->get('site_name'));
}

// render error layout
echo $warp['template']->render('error', compact('title', 'error', 'message'));