| Current Path : /home/juvelize/www/components/com_zhgooglemap/ |
| Current File : /home/juvelize/www/components/com_zhgooglemap/zhgooglemap.php |
<?php
/*------------------------------------------------------------------------
# com_zhgooglemap - Zh GoogleMap
# ------------------------------------------------------------------------
# author: Dmitry Zhuk
# copyright: Copyright (C) 2011 zhuk.cc. All Rights Reserved.
# license: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
# website: http://zhuk.cc
# Technical Support Forum: http://forum.zhuk.cc/
-------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// require helper file
JLoader::register('ZhGoogleMapHelper', dirname(__FILE__) . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'zhgooglemap.php');
// Get an instance of the controller prefixed by ZhGoogleMap
$controller = JControllerLegacy::getInstance('ZhGoogleMap');
// Perform the Request task
$controller->execute(JFactory::getApplication()->input->get('task'));
// Redirect if set by the controller
$controller->redirect();