mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 03:41:53 +02:00
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'] = array();
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
$GLOBALS['egw_info']['flags'] = array(
|
||||||
'currentapp' => 'login',
|
'currentapp' => 'login',
|
||||||
'noheader' => True,
|
'noheader' => True,
|
||||||
'disable_Template_class' => True
|
'nonavbar' => True,
|
||||||
|
'disable_Template_class' => True
|
||||||
);
|
);
|
||||||
include('./header.inc.php');
|
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
|
/* Look at the Content-type of the request, if it is available, to try
|
||||||
* and determine what kind of request this is. */
|
* and determine what kind of request this is. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user