phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: chora/config conf.php,1.3,1.4


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: chora/config conf.php,1.3,1.4
Date: Tue, 30 Apr 2002 19:20:47 -0400

Update of /cvsroot/phpgroupware/chora/config
In directory subversions:/tmp/cvs-serv1883/config

Modified Files:
        conf.php 
Log Message:
Converting to get_var() for all HTTP_*_VARS.

Index: conf.php
===================================================================
RCS file: /cvsroot/phpgroupware/chora/config/conf.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** conf.php    25 Jul 2001 23:34:57 -0000      1.3
--- conf.php    30 Apr 2002 23:20:41 -0000      1.4
***************
*** 11,26 ****
     */
  
-       if (!isset($HTTP_SERVER_VARS['PATH_INFO']))
-       {
-               $HTTP_SERVER_VARS['PATH_INFO'] = '';
-       }
- 
        /* Location relative to the CVSROOT */
!       //$where = preg_replace("|^/|", '', $HTTP_SERVER_VARS['PATH_INFO']);
!       //$where = preg_replace("|\.\.|", '', $where);
!       //$where = preg_replace('|/$|', '', $where); 
  
        /* Location of this script (e.g. /chora/cvs.php) */
!       $scriptName = preg_replace('|^/?|', '/', 
$HTTP_SERVER_VARS['SCRIPT_NAME']); 
        $scriptName = preg_replace('|/$|', '', $scriptName); 
  
--- 11,21 ----
     */
  
        /* Location relative to the CVSROOT */
!       //$where = preg_replace("|^/|",'',get_var('PATH_INFO',Array('SERVER')));
!       //$where = preg_replace("|\.\.|",'',$where);
!       //$where = preg_replace('|/$|','',$where); 
  
        /* Location of this script (e.g. /chora/cvs.php) */
!       $scriptName = 
preg_replace('|^/?|','/',get_var('SCRIPT_NAME',Array('SERVER')));
        $scriptName = preg_replace('|/$|', '', $scriptName); 
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]