| Server IP : 46.105.57.169 / Your IP : 216.73.216.144 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/new-saint-martin/administrator/components/com_mobilemenuck/ |
Upload File : |
<?php
/**
* @name Mobile Menu CK
* @package com_mobilemenuck
* @copyright Copyright (C) 2017. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr
*/
// no direct access
defined('_JEXEC') or die;
if (! file_exists(JPATH_ROOT . '/plugins/system/mobilemenuck/helpers/helper.php')) {
echo 'Plugin Mobile Menu CK not found. Helper.php file missing, operation aborted.';
return;
}
if (! \Joomla\CMS\Plugin\PluginHelper::isEnabled('system', 'mobilemenuck')) {
echo 'Plugin Mobile Menu CK not enabled. Please enable the plugin. Operation aborted.';
return;
}
// Access check.
if (!\Joomla\CMS\Factory::getUser()->authorise('core.manage', 'com_mobilemenuck')) {
return JError::raiseWarning(404, \Joomla\CMS\Language\Text::_('JERROR_ALERTNOAUTHOR'));
}
// set variables
include_once(JPATH_ROOT . '/plugins/system/mobilemenuck/defines.php');
include_once JPATH_ADMINISTRATOR . '/components/com_mobilemenuck/helpers/defines.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/defines.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckinput.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/cktext.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckfof.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckparams.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckcontroller.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckmodel.php';
require_once MOBILEMENUCK_ADMIN_PATH . '/helpers/ckview.php';
require_once(JPATH_ROOT . '/plugins/system/mobilemenuck/helpers/helper.php');
// loads the language files from the frontend
$lang = \Joomla\CMS\Factory::getLanguage();
$lang->load('com_mobilemenuck', MOBILEMENUCK_SITE_PATH, $lang->getTag(), false);
// loads the helper in any case
include_once MOBILEMENUCK_ADMIN_PATH . '/helpers/helper.php';
// Include dependancies
//jimport('joomla.application.component.controller');
//$controller = \Joomla\CMS\MVC\Controller\BaseController::getInstance('Mobilemenuck');
//$controller->execute(\Joomla\CMS\Factory::getApplication()->input->get('task'));
//$controller->redirect();
$input = Mobilemenuck\CKFof::getInput();
$controller = Mobilemenuck\CKController::getInstance('Mobilemenuck');
$controller->execute($input->get('task'));