phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: filemanager/inc html.inc.php,1.12.2.2,1.12.2.2.2


From: Jonathon Sim <address@hidden>
Subject: [Phpgroupware-cvs] CVS: filemanager/inc html.inc.php,1.12.2.2,1.12.2.2.2.1
Date: Wed, 25 Jun 2003 23:32:34 -0400

Update of /cvsroot/phpgroupware/filemanager/inc
In directory subversions:/tmp/cvs-serv16877/filemanager/inc

Modified Files:
      Tag: Version-0_9_16-branch
        html.inc.php 
Log Message:
Fix problems with the upload form (and other links) when the server root is not 
set in setup.

Index: html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/filemanager/inc/Attic/html.inc.php,v
retrieving revision 1.12.2.2
retrieving revision 1.12.2.2.2.1
diff -C2 -r1.12.2.2 -r1.12.2.2.2.1
*** html.inc.php        10 Feb 2002 04:37:57 -0000      1.12.2.2
--- html.inc.php        26 Jun 2003 03:32:32 -0000      1.12.2.2.2.1
***************
*** 365,369 ****
        if (!preg_match ("|^http(.{0,1})://|", $href))
        {
!               $href = SEP . $href;
  
                /* $phpgw->link requires that the extra vars be passed 
separately */
--- 365,373 ----
        if (!preg_match ("|^http(.{0,1})://|", $href))
        {
!               //Only add an extra / if there isn't already one there
!               if (!($href[0] == SEP))
!               {
!                       $href = SEP . $href;
!               }
  
                /* $phpgw->link requires that the extra vars be passed 
separately */





reply via email to

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