web/html/download/up2date-mirrors index.php,1.1.1.1,1.3

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

 



Author: kwade

Update of /cvs/fedora/web/html/download/up2date-mirrors
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15400/web/html/download/up2date-mirrors

Modified Files:
	index.php 
Log Message:
Applying patch from bz#189069


Index: index.php
===================================================================
RCS file: /cvs/fedora/web/html/download/up2date-mirrors/index.php,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -r1.1.1.1 -r1.3
--- index.php	30 Mar 2005 17:47:23 -0000	1.1.1.1
+++ index.php	13 Oct 2006 17:20:15 -0000	1.3
@@ -1,27 +1,10 @@
-<?
-include("site.inc");
+<?php
+//
+// Easily-changeable template for redirection.
+//
 
-$template = new Page;
-$template->initCommon();
+$NEWURL="http://fedora.redhat.com/Download/mirrors.html";;
 
-$template->displayHeader();
-
-
-# I stole this from php.net, I no speak da php
-$the_array = Array();
-$handle = opendir('.');
-
-while (false !== ($file = readdir($handle))) {
-   if ($file != "." && $file != ".." && $file != "index.php" && $file != "index.html" ) {  /* as descripted below: these "files" will not be added to the array */
-       $the_array[] = $file;
-   }
-}
-closedir($handle);
-
-foreach ($the_array as $element) {
-  echo "<a href=\"$element\">$element</a><br>\n";
-}
-
-$template->displayFooter('$Date$');
+include("redirect.inc");
 
 ?>


[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux