--- nfo/site/htdocs/index.php 2004/09/03 11:12:05 1.9 +++ nfo/site/htdocs/index.php 2004/09/03 22:43:17 1.10 @@ -4,7 +4,7 @@ --- Main index and content access page. -------------------------------------------------------------------------------- --- rabit, 01:28 24.08.2004 ---- $Id: index.php,v 1.9 2004/09/03 11:12:05 joko Exp $ +--- $Id: index.php,v 1.10 2004/09/03 22:43:17 joko Exp $ ------------------------------------------------------------------------------*/ include('inc/common/common.php.inc'); @@ -39,6 +39,16 @@ if(isset($_GET['li'])) $common_sessiondata['userdata']['language_id'] = intval($_GET['li']); + +//------------------------------------------------------------------------------ +//- User Agent <-> Output Type: +$common['client']['session_enabled'] = 1; +if ($_SERVER['HTTP_USER_AGENT'] == 'M3Gate/1.2') { + $common['client']['session_enabled'] = 0; + $request_outputtype = 'wml'; +} + +//------------------------------------------------------------------------------ //- Variable defaults: if(!$request_contentkey) $request_contentkey = 'Home';