%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/old/administrator/components/com_jckman/ |
Upload File : |
<?php
/*------------------------------------------------------------------------
# Copyright (C) 2005-2012 WebxSolution Ltd. All Rights Reserved.
# @license - GPLv2.0
# Author: WebxSolution Ltd
# Websites: http://www.webxsolution.com
# Terms of Use: An extension that is derived from the JoomlaCK editor will only be allowed under the following conditions: http://joomlackeditor.com/terms-of-use
# ------------------------------------------------------------------------*/
// no direct access
defined( '_JEXEC' ) or die();
// Require specific controller
// Controller
// -PC- J3.0 fix
if( !defined( 'DS' ) ) define( 'DS', DIRECTORY_SEPARATOR );
//load base classes
require_once (JPATH_COMPONENT.DS.'base'.DS.'loader.php');
//defines CKEDITOR library includes path
define('CKEDITOR_LIBRARY',JPATH_PLUGINS.DS.'editors'.DS.'jckeditor'.DS.'jckeditor'.DS.'includes'.DS.'ckeditor');
define('JCK_COMPONENT', JUri::root() . 'administrator/components/com_jckman');
//load default style sheets
$document = JFactory::getDocument();
$document->addStyleSheet( JCK_COMPONENT . '/css/header.css', 'text/css' );
jckimport('base.controller');
//now load in JBrowser class as it is now needed
jimport('joomla.environment.browser');
//register all event listeners
JCKRegisterAllEventlisetners();
$app = JFactory::getApplication();
$controllername = '';
$task = $app->input->get('task','' );
if(strpos($task,'.'))
list($controllername,$task) = explode('.',$task);
if($controllername)
$app->input->set('controller',$controllername);
//Make sure we load in system language file for component
$lang = JFactory::getLanguage();
$component = 'com_jckman.sys';
$lang->load($component, JPATH_ADMINISTRATOR);
if(is_dir(CKEDITOR_LIBRARY))
{
require_once('helper.php');
$view = $app->input->get('view','cpanel' );
}
else
{
require_once('helper.php');
$view = 'cpanel';
$app->enqueueMessage("COM_JCKMAN_NO_DETECT_EDITOR_MSG");
}
// Require specific controller if requested
jckimport('controllers.' . $view );
if($view == "install")
{
require_once (JPATH_COMPONENT.DS.'controllers'.DS. 'install.php');
//load language file,
$lang = JFactory::getLanguage();
$lang->load('com_installer',JPATH_ADMINISTRATOR);
// Create the controller
jimport('joomla.client.helper');
$controller = JControllerLegacy::getInstance('Installer',array(
'base_path' => dirname( __FILE__ )));
if(!is_a($controller,'InstallerController'))
{
$app->setUserState('com_installer.redirect_url', 'index.php?option=com_jckman&view=install');
}
$controller->execute($app->input->get( 'task' ));
$controller->redirect();
}
else
{
// main helper class
jckimport('helper');
// global include classes
jckimport('parameter.parameter');
jckimport('html.html');
$controller = JControllerLegacy::getInstance('JCKMan');
$controller->execute($app->input->get( 'task' ));
$controller->redirect();
}