cvs: phpweb / index.php
| From: | Gabor Hojtsy | Date: | Tue, 13 Aug 2002 10:43:22 +0000 |
| Subject: | cvs: phpweb / index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11893@lists.php.net to get a copy of this message | ||
goba Tue Aug 13 06:43:22 2002 EDT
Modified files:
/phpweb index.php
Log:
Doh...
Index: phpweb/index.php
diff -u phpweb/index.php:1.276 phpweb/index.php:1.277
--- phpweb/index.php:1.276 Tue Aug 13 06:34:41 2002
+++ phpweb/index.php Tue Aug 13 06:43:22 2002
@@ -86,7 +86,8 @@
// Find the type of logo provided and start the right
// sidebar with it if a mirror banner is available
-while (list(,$ext) = each(array("gif", "jpg", "png"))) {
+$types = array("gif", "jpg", "png");
+while (list(,$ext) = each($types)) {
if (file_exists("backend/mirror." . $ext)) {
$RSIDEBAR_DATA .= "<center><h3>This mirror sponsored by:</h3>\n
<a href='" . $MIRRORS[$MYSITE]['3'] . "'><img
src='backend/mirror.$ext' ";