mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
translating xajax requests in utf-8 to the system-charset
This commit is contained in:
parent
aa536186c1
commit
75524e8142
11
xajax.php
11
xajax.php
@ -41,20 +41,11 @@
|
|||||||
|
|
||||||
include('./header.inc.php');
|
include('./header.inc.php');
|
||||||
|
|
||||||
$sessionid = get_var('sessionid',array('COOKIE','GET'));
|
|
||||||
$kp3 = get_var('kp3',array('COOKIE','GET'));
|
|
||||||
|
|
||||||
// the session has been created already
|
|
||||||
// the browser is sending all needed egroupware cookies
|
|
||||||
if($GLOBALS['phpgw']->session->verify($sessionid,$kp3))
|
|
||||||
{
|
|
||||||
|
|
||||||
$ajaxClass = CreateObject("$appName.$className");
|
$ajaxClass = CreateObject("$appName.$className");
|
||||||
|
$argList = $GLOBALS['egw']->translation->convert($argList, 'utf-8');
|
||||||
return call_user_func_array(array(&$ajaxClass, $functionName), $argList );
|
return call_user_func_array(array(&$ajaxClass, $functionName), $argList );
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$xajax = new xajax($_SERVER["PHP_SELF"]);
|
$xajax = new xajax($_SERVER["PHP_SELF"]);
|
||||||
$xajax->registerFunction("doXMLHTTP");
|
$xajax->registerFunction("doXMLHTTP");
|
||||||
|
Loading…
Reference in New Issue
Block a user