SF.net SVN: geany-plugins:[1549] www/staging/content/downloads.html

any0n3 at users.sourceforge.net any0n3 at xxxxx
Sat Sep 4 20:09:40 UTC 2010


Revision: 1549
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1549&view=rev
Author:   any0n3
Date:     2010-09-04 20:09:40 +0000 (Sat, 04 Sep 2010)

Log Message:
-----------
Bug fix, let us prey ..

Modified Paths:
--------------
    www/staging/content/downloads.html

Modified: www/staging/content/downloads.html
===================================================================
--- www/staging/content/downloads.html	2010-09-04 20:05:09 UTC (rev 1548)
+++ www/staging/content/downloads.html	2010-09-04 20:09:40 UTC (rev 1549)
@@ -1,8 +1,8 @@
 <h2>Download Geany-Plugins</h2>
 <?php
-	$dir = "geany-plugins";
+	$dir = "./geany-plugins/";
 
-	if($handle = opendir($dir) && is_dir('geany-plugins'))
+	if($handle = opendir($dir) && is_dir($dir))
 	{
 
 		$versions = Array();
@@ -31,8 +31,8 @@
 		echo "	<th>SIG</th>";
 		echo "</tr>";
 		
-		if(file_exists($dir . "/geany-plugins-" . $version . ".tar.gz") &&
-			file_exists($dir . "/geany-plugins-" . $version . ".tar.gz.sig"))
+		if(file_exists($dir . "geany-plugins-" . $version . ".tar.gz") &&
+			file_exists($dir . "geany-plugins-" . $version . ".tar.gz.sig"))
 		{
 			echo "<tr>";
 			echo "	<td>geany-plugins-" . $version . ".tar.gz</td>";
@@ -41,8 +41,8 @@
 			echo "</tr>";
 		}
 
-		if(file_exists($dir . "/geany-plugins-" . $version . ".tar.bz2") &&
-			file_exists($dir . "/geany-plugins-" . $version . ".tar.bz2.sig"))
+		if(file_exists($dir . "geany-plugins-" . $version . ".tar.bz2") &&
+			file_exists($dir . "geany-plugins-" . $version . ".tar.bz2.sig"))
 		{
 			echo "<tr>";
 			echo "	<td>geany-plugins-" . $version . ".tar.bz2</td>";
@@ -51,8 +51,8 @@
 			echo "</tr>";
 		}
 
-		if(file_exists($dir . "/geany-plugins-" . $version . ".exe") &&
-			file_exists($dir . "/geany-plugins-" . $version . ".exe.sig"))
+		if(file_exists($dir . "geany-plugins-" . $version . ".exe") &&
+			file_exists($dir . "geany-plugins-" . $version . ".exe.sig"))
 		{
 			echo "<tr>";
 			echo "	<td>geany-plugins-" . $version . ".exe</td>";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list