From ba3ec700c96f312e73e28087390d3260b59d82f8 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Fri, 23 Dec 2005 07:00:30 +0000 Subject: [PATCH] SyncML is working with PHP sessions only --- rpc.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/rpc.php b/rpc.php index ae8681ceca..5a1ae37afc 100644 --- a/rpc.php +++ b/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. */