%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/plugins/editors/jckeditor/ |
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 # ------------------------------------------------------------------------*/ error_reporting(E_ERROR); 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 ); //Needed for 1.6 define('JDEBUG',false); if (file_exists($base_folder.DS.'defines.php')) { include_once $base_folder.DS.'defines.php'; } if (!defined('_JDEFINES')) { define('JPATH_BASE',$base_folder); require_once (JPATH_BASE.DS.'includes'.DS.'defines.php'); } require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); /* Load in the configuation file */ require_once( JPATH_CONFIGURATION.DS.'configuration.php' ); define('JPATH_PLATFORM',JPATH_LIBRARIES); /*load loader class */ require_once(JPATH_LIBRARIES .DS.'loader.php' ); defined('_JREQUEST_NO_CLEAN',1); if(file_exists(JPATH_LIBRARIES.'/import.php')) require_once JPATH_LIBRARIES.'/import.php'; elseif(file_exists(JPATH_LIBRARIES.'/joomla/import.php')) require_once JPATH_LIBRARIES.'/joomla/import.php'; // Botstrap the CMS libraries. if(file_exists(JPATH_LIBRARIES.'/cms.php')) require_once JPATH_LIBRARIES.'/cms.php'; if (!class_exists('JVersion')) { if(file_exists(JPATH_ROOT.'/includes/version.php')) require JPATH_ROOT.'/includes/version.php'; } jimport('joomla.filter.filterinput'); jimport('joomla.environment.uri'); jimport('joomla.environment.request'); jimport('legacy.request.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'); jimport( 'joomla.utilities.arrayhelper' ); jimport('joomla.log.log'); jimport('joomla.application.component.helper'); if(file_exists(JPATH_PLATFORM . '/legacy') && method_exists('JLoader','registerPrefix')) { JLoader::setup(); JLoader::registerPrefix('J', JPATH_PLATFORM . '/legacy'); } /* 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); if(JRequest::getInt('eSess',1)) { //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 JRegistry($plugin->params); //import System plugin first JCKPluginsHelper::importPlugin('default'); $dispatcher->trigger('intialize',array(&$params)); $plugin->params = $params->toString(); }