mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
translating xajax requests in utf-8 to the system-charset
This commit is contained in:
parent
aa536186c1
commit
75524e8142
15
xajax.php
15
xajax.php
@ -41,19 +41,10 @@
|
||||
|
||||
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");
|
||||
$argList = $GLOBALS['egw']->translation->convert($argList, 'utf-8');
|
||||
return call_user_func_array(array(&$ajaxClass, $functionName), $argList );
|
||||
|
||||
$ajaxClass = CreateObject("$appName.$className");
|
||||
|
||||
return call_user_func_array(array(&$ajaxClass, $functionName), $argList );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$xajax = new xajax($_SERVER["PHP_SELF"]);
|
||||
|
Loading…
Reference in New Issue
Block a user