summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-07-13 10:41:07 -0400
committerBrian Evans <grknight@gentoo.org>2018-07-13 10:41:07 -0400
commit29c300918339a74463b24c5c9ed517286675ddf2 (patch)
tree504e090c2c76cf68ae1e65fb12dd9fe388593a65 /archives/universe/index.php
parentUpdate links and use https where appropriate. (diff)
downloadplanet-29c300918339a74463b24c5c9ed517286675ddf2.tar.gz
planet-29c300918339a74463b24c5c9ed517286675ddf2.tar.bz2
planet-29c300918339a74463b24c5c9ed517286675ddf2.zip
Fix archives by generating a static HTML file
Diffstat (limited to 'archives/universe/index.php')
-rw-r--r--archives/universe/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/archives/universe/index.php b/archives/universe/index.php
index d62398a..5e1ed42 100644
--- a/archives/universe/index.php
+++ b/archives/universe/index.php
@@ -62,7 +62,7 @@
$scandir = scandir('./', 1);
echo "<ul>";
foreach ($scandir as $curdir) {
- if ( $curdir == "index.php" || $curdir == ".." || $curdir == "." ) continue;
+ if ( substr($curdir,0,5) == "index" || $curdir == ".." || $curdir == "." ) continue;
$cscan = scandir('./' . $curdir, 1);
foreach($cscan as $filename) {
if ( $filename == "." || $filename == ".." ) continue;
@@ -76,7 +76,7 @@
<tr><td colspan="2" class="footer">
-Gentoo Design, Copyright 2001-2011 Gentoo Foundation, Inc.<br>
+Gentoo Design, Copyright 2001-2018 Gentoo Foundation, Inc.<br>
Views expressed in the content shown above do not necessarily represent the views of Gentoo Linux or the Gentoo Foundation.
</td></tr>
</tbody></table></body></html>