Niels Breet xfade at lists.slony.info
Tue Mar 27 05:22:47 PDT 2007
Update of /home/cvsd/slony1/slony1-www
In directory main.slony.info:/tmp/cvs-serv27300

Modified Files:
	index.php 
Log Message:
Add trailing slashes to dirs.

Index: index.php
===================================================================
RCS file: /home/cvsd/slony1/slony1-www/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** index.php	27 Mar 2007 12:13:26 -0000	1.9
--- index.php	27 Mar 2007 12:22:45 -0000	1.10
***************
*** 82,97 ****
                 if (strpos($file,'.zip')>0) $type="Slony for windows msi installer";
                 if ((strpos($file,'doc')>0) && ((strpos($file,'tar.bz2')>0))) $type="Documentation";
!                if (strpos($file,'source') !== false){
! 		   $type="Slony source files and documentation";
! 		   $file .= "/";
! 	       }
!                if (strpos($file,'win32') !== false){
! 		   $type="Slony for Windows";
! 		   $file .= "/";
! 	       }
!                if (strpos($file,'rpm') !== false) {
! 		   $type="Slony RPM files";
! 		   $file .= "/";
! 	       }
  
                 $text .= "<tr><td><a href=\"$file\" title=\"$title\">$title</a></td><td>$type</td><td>$mysums[$c]</td></tr>\n";
--- 82,89 ----
                 if (strpos($file,'.zip')>0) $type="Slony for windows msi installer";
                 if ((strpos($file,'doc')>0) && ((strpos($file,'tar.bz2')>0))) $type="Documentation";
!                if (strpos($file,'source') !== false) $type="Slony source files and documentation";
!                if (strpos($file,'win32') !== false) $type="Slony for Windows";
! 	       if (strpos($file,'rpm') !== false)  $type="Slony RPM files";
! 	       if (($version == "") || ($platform =="")) $file .= "/";
  
                 $text .= "<tr><td><a href=\"$file\" title=\"$title\">$title</a></td><td>$type</td><td>$mysums[$c]</td></tr>\n";



More information about the Slony1-commit mailing list