/[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.12 by rabit, Sat Sep 4 14:06:52 2004 UTC revision 1.14 by rabit, Sun Sep 5 05:52:55 2004 UTC
# Line 1  Line 1 
1  <?php  <?php $ID = substr(
2  /*------------------------------------------------------------------------------  /*------------------------------------------------------------------------------
3  --- www.netfrag.org  --- www.netfrag.org
4  --- Main index and content access page.  --- Main index and content access page.
5  --------------------------------------------------------------------------------  --------------------------------------------------------------------------------
6  --- rabit, 01:28 24.08.2004  --- rabit, 01:28 24.08.2004
 --- $Id$  
7  ------------------------------------------------------------------------------*/  ------------------------------------------------------------------------------*/
8       '$Id$'
9    //------------------------------------------------------------------------------
10    , 5, -2);
11    //------------------------------------------------------------------------------
12    
13  include('inc/common/common.php.inc');  include('inc/common/common.php.inc');
14    
# Line 24  if($_SERVER['HTTP_USER_AGENT'] == 'M3Gat Line 27  if($_SERVER['HTTP_USER_AGENT'] == 'M3Gat
27  }  }
28    
29  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
 //- Web authorisation:  
   
 if(isset($_POST['un']) && isset($_POST['pw'])) {  
   
   common_authorise($_POST['un'], $_POST['pw']);  
   
   common_benchmark_addstep('authorisation test');  
   
 }  
   
 //------------------------------------------------------------------------------  
30  //- GET/POST variable encapsulation:  //- GET/POST variable encapsulation:
31    
32  $request_contentkey = (isset($_GET['ck']) ? $_GET['ck'] : '');  $request_contentkey = (isset($_GET['ck']) ? $_GET['ck'] : '');
# Line 45  if(isset($_GET['li'])) Line 37  if(isset($_GET['li']))
37  if(isset($_GET['ot']))  if(isset($_GET['ot']))
38   $common_sessiondata['user_prefs']['outputtype'] = $_GET['ot'];   $common_sessiondata['user_prefs']['outputtype'] = $_GET['ot'];
39    
 if(isset($_GET['debug']))  
  $common_sessiondata['user_prefs']['debug'] = $_GET['debug'];  
   
 if(isset($_GET['benchlist']))  
  $common_sessiondata['user_prefs']['benchlist'] = $_GET['benchlist'];  
   
40  //----------------------------------------------------------  //----------------------------------------------------------
41  //- Variable defaults:  //- Variable defaults:
42    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

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