phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgroupware/index.php, 1.120.2.2.2.5


From: nomail
Subject: [Phpgroupware-cvs] phpgroupware/index.php, 1.120.2.2.2.5
Date: Thu, 20 May 2004 14:59:16 -0000

Update of /phpgroupware
Modified Files:
        Branch: proposal-branch
          index.php

date: 2004/04/16 20:59:48;  author: seek3r;  state: Exp;  lines: +12 -1

Log Message:
bringing savannah cvs back up to date with what we were doing on our private 
cvs server. We will not be doing dev from this cvs tree
=====================================================================
No syntax errors detected in -
=====================================================================
Index: phpgroupware/index.php
diff -u phpgroupware/index.php:1.120.2.2.2.4 
phpgroupware/index.php:1.120.2.2.2.5
--- phpgroupware/index.php:1.120.2.2.2.4        Fri Oct 31 04:33:46 2003
+++ phpgroupware/index.php      Fri Apr 16 20:59:48 2004
@@ -23,6 +23,17 @@
 
        /* $Id$ */
 
+
+       if(isset($GLOBALS['REDIRECT_URL']))
+       {
+               $opdir = 
str_replace(dirname($GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']),'',$GLOBALS['REDIRECT_URL']);
+               $opdir = substr($opdir,1);
+               $opdir = str_replace('/','.',$opdir);
+               $_GET['op'] = str_replace('\\','.',$opdir);
+               header('Location: 
'.$GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'].'?op='.$opdir.'&'.$GLOBALS['REDIRECT_QUERY_STRING']);
+               exit;
+       }
+                                               
        $GLOBALS['phpgw_interface'] = 'browser';
        $GLOBALS['phpgw_data'] = array();
        require_once('api/starter.inc.php');




reply via email to

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