1
|
<?php
|
2
|
/**
|
3
|
* @package yoo_solar
|
4
|
* @author YOOtheme http://www.yootheme.com
|
5
|
* @copyright Copyright (C) YOOtheme GmbH
|
6
|
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
|
7
|
*/
|
8
|
|
9
|
// no direct access
|
10
|
defined('_JEXEC') or die('Restricted access');
|
11
|
|
12
|
// include config
|
13
|
include_once(dirname(__FILE__).'/config.php');
|
14
|
|
15
|
// get warp
|
16
|
$warp = Warp::getInstance();
|
17
|
|
18
|
// render offline layout
|
19
|
echo $warp['template']->render('offline', array('title' => JText::_('TPL_WARP_OFFLINE_PAGE_TITLE'), 'error' => 'Offline', 'message' => JText::_('TPL_WARP_OFFLINE_PAGE_MESSAGE')));
|