/[cvs]/nfo/site/htdocs/index.php
ViewVC logotype

Diff of /nfo/site/htdocs/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by rabit, Wed Sep 1 20:47:20 2004 UTC revision 1.10 by joko, Fri Sep 3 22:43:17 2004 UTC
# Line 39  $request_outputtype = (isset($_GET['ot'] Line 39  $request_outputtype = (isset($_GET['ot']
39  if(isset($_GET['li']))  if(isset($_GET['li']))
40   $common_sessiondata['userdata']['language_id'] = intval($_GET['li']);   $common_sessiondata['userdata']['language_id'] = intval($_GET['li']);
41    
42    
43    //------------------------------------------------------------------------------
44    //- User Agent <-> Output Type:
45    $common['client']['session_enabled'] = 1;
46    if ($_SERVER['HTTP_USER_AGENT'] == 'M3Gate/1.2') {
47      $common['client']['session_enabled'] = 0;
48      $request_outputtype = 'wml';
49    }
50    
51    //------------------------------------------------------------------------------
52  //- Variable defaults:  //- Variable defaults:
53    
54  if(!$request_contentkey) $request_contentkey = 'Home';  if(!$request_contentkey) $request_contentkey = 'Home';
# Line 65  switch($request_outputtype) { Line 75  switch($request_outputtype) {
75    
76    case 'wml': // WML output    case 'wml': // WML output
77    
 /* --- Example: ---  
   
78      include($common['site']['incroot'] . 'otdef/otd_wml1.php.inc');      include($common['site']['incroot'] . 'otdef/otd_wml1.php.inc');
79      common_benchmark_addstep('OTD_WML1 included');      common_benchmark_addstep('OTD_WML1 included');
 */  
80    
81      break;      break;
82    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.10

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed