Открываем файл jsloader.php
В самом начале кусок кода
CODE:
// Load JsHttpRequest backend.
require_once "include/JsHttpRequest/JsHttpRequest.php";
// Create main library object. You MUST specify page encoding!
$JsHttpRequest = new JsHttpRequest($fm->LANG['ENCODING']);
require_once "include/JsHttpRequest/JsHttpRequest.php";
// Create main library object. You MUST specify page encoding!
$JsHttpRequest = new JsHttpRequest($fm->LANG['ENCODING']);
заменяем кодом
CODE:
$fm->_GetVars();
$encoding = (isset($fm->input['loader']) && $fm->input['loader'] == 'preview') ? 'UTF-8' : $fm->LANG['ENCODING'];
// Load JsHttpRequest backend.
require_once "include/JsHttpRequest/JsHttpRequest.php";
// Create main library object. You MUST specify page encoding!
$JsHttpRequest = new JsHttpRequest($encoding);
$encoding = (isset($fm->input['loader']) && $fm->input['loader'] == 'preview') ? 'UTF-8' : $fm->LANG['ENCODING'];
// Load JsHttpRequest backend.
require_once "include/JsHttpRequest/JsHttpRequest.php";
// Create main library object. You MUST specify page encoding!
$JsHttpRequest = new JsHttpRequest($encoding);