Skip to content
Permalink
Browse files

Avoid the need of forcing downloads, thus downlod.php is not needed a…

…nymore.

git-svn-id: https://svn.macports.org/repository/macports/trunk/www@14590 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Matt Anton
Matt Anton committed Oct 13, 2005
1 parent 28d0fb0 commit 104aa4b5c469b51091e0fcf99604fbaeacf9bff4
Showing with 2 additions and 2 deletions.
  1. +1 −1 downloads/index.php
  2. +1 −1 fr/downloads/index.php
@@ -17,7 +17,7 @@
$tableau = explode (".", $fichier);
$nb_element_1 = count ($tableau) -1;
if ($tableau[$nb_element_1] != "php") {
echo '<a href="./download.php?file='.$fichier.'">'.$fichier.'</a><br />';
echo '<a href="'.$fichier.'">'.$fichier.'</a><br />';
}
}
}
@@ -17,7 +17,7 @@
$tableau = explode (".", $fichier);
$nb_element_1 = count ($tableau) -1;
if ($tableau[$nb_element_1] != "php") {
echo '<a href="'.$DOCUMENT_ROOT.'/download.php?file='.$fichier.'">'.$fichier.'</a><br />';
echo '<a href="/downloads/'.$fichier.'">'.$fichier.'</a><br />';
}
}
}

0 comments on commit 104aa4b

Please sign in to comment.
You can’t perform that action at this time.