forked from extern/egroupware
SyncML is working with PHP sessions only
This commit is contained in:
parent
8d704fe5c0
commit
ba3ec700c9
14
rpc.php
14
rpc.php
@ -16,12 +16,20 @@ require_once 'Horde/RPC.php';
|
||||
|
||||
$GLOBALS['egw_info'] = array();
|
||||
$GLOBALS['egw_info']['flags'] = array(
|
||||
'currentapp' => 'login',
|
||||
'noheader' => True,
|
||||
'disable_Template_class' => True
|
||||
'currentapp' => 'login',
|
||||
'noheader' => True,
|
||||
'nonavbar' => True,
|
||||
'disable_Template_class' => True
|
||||
);
|
||||
include('./header.inc.php');
|
||||
|
||||
// SyncML works currently only with PHP sessions
|
||||
if($GLOBALS['egw_info']['server']['sessions_type'] == 'db')
|
||||
{
|
||||
error_log('SyncML support is not available with DB sessions. Please switch to PHP4 sessions in header.inc.php.');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
/* Look at the Content-type of the request, if it is available, to try
|
||||
* and determine what kind of request this is. */
|
||||
|
Loading…
Reference in New Issue
Block a user