forked from extern/egroupware
SyncML is working with PHP sessions only
This commit is contained in:
parent
8d704fe5c0
commit
ba3ec700c9
8
rpc.php
8
rpc.php
@ -18,10 +18,18 @@ $GLOBALS['egw_info'] = array();
|
||||
$GLOBALS['egw_info']['flags'] = array(
|
||||
'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