Your IP : 216.73.216.170


Current Path : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/administrator/templates/system/
Upload File :
Current File : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/administrator/templates/system/warp-ajax.php

<?php
/**
* @package   Warp Theme Framework
* @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 template data/path
$app   = JFactory::getApplication();
$templ = $app->input->get('template');
$task  = $app->input->get('callback');
$warp  = JPATH_ROOT."/templates/{$templ}/warp.php";

if ($templ && $task && file_exists($warp)) {

	// trigger callback
	$warp = require($warp);
	$warp['system']->ajaxCallback($task);

}