| Current Path : /var/www/components/com_contactpush/ |
| Current File : /var/www/components/com_contactpush/contactpush.php |
<?php
/** ______________________________________________
* o O | |
* ((((( o < Generated with Cook Self Service V3.1 |
* ( o o ) |______________________________________________|
* --------oOOO-----(_)-----OOOo---------------------------------- www.j-cook.pro --- +
* @version 1.0.0
* @package Contact Push
* @subpackage Contact Push
* @copyright Netamity 2017
* @author Andy Hickey - www.netamity.com - andy@netamity.com
* @license GPL V2+
*
* .oooO Oooo.
* ( ) ( )
* -------------\ (----) /----------------------------------------------------------- +
* \_) (_/
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
if(!defined('DS')) define('DS',DIRECTORY_SEPARATOR);
//Copy this line to be able to call the application from outside (Module, Plugin, Third component, ...)
require_once(JPATH_ADMINISTRATOR.'/components/com_contactpush/helpers/loader.php');
if (defined('JDEBUG') && count($_POST))
$_SESSION['Contactpush']['$_POST'] = $_POST;
$jinput = JFactory::getApplication()->input;
// When this component is called to return a file
if ($jinput->get('task', null, 'CMD') == 'file')
ContactpushHelperFile::returnFile();
$controller = CkJController::getInstance('Contactpush');
$controller->execute($jinput->get('task', null, 'CMD'));
$controller->redirect();