It was not possible to properly load the XML response from the web server.
Raw response from the server:
getDocumentRootPath() . $baseUrl;
}
$utilsSecurity =& CKFinder_Connector_Core_Factory::getInstance("Utils_Security");
$utilsSecurity->getRidOfMagicQuotes();
/**
* $config must be initialised
*/
$config = array();
$config['Hooks'] = array();
$config['Plugins'] = array();
/**
* Fix cookies bug in Flash.
*/
if (!empty($_GET['command']) && $_GET['command'] == 'FileUpload' && !empty($_POST)) {
foreach ($_POST as $key => $val) {
if (strpos($key, "ckfcookie_") === 0)
$_COOKIE[str_replace("ckfcookie_", "", $key)] = $val;
}
}
/**
* read config file
*/
require_once CKFINDER_CONNECTOR_CONFIG_FILE_PATH;
CKFinder_Connector_Core_Factory::initFactory();
$connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector");
if(isset($_GET['command'])) {
$connector->executeCommand($_GET['command']);
}
else {
$connector->handleInvalidCommand();
}
|
|