cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Tue, 08 Jan 2002 19:05:44 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8136@lists.php.net to get a copy of this message | ||
goba Tue Jan 8 14:05:44 2002 EDT
Modified files:
/phpweb/include layout.inc
Log:
Last refine on mirror list changes. Now it just moves to the right file finally ;)
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.65 phpweb/include/layout.inc:1.66
--- phpweb/include/layout.inc:1.65 Sat Jan 5 14:29:31 2002
+++ phpweb/include/layout.inc Tue Jan 8 14:05:44 2002
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.65 2002/01/05 19:29:31 goba Exp $ */
+/* $Id: layout.inc,v 1.66 2002/01/08 19:05:44 goba Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -310,7 +310,7 @@
mirror = form.country.options[form.country.selectedIndex].value;
if (mirror != 'http://' + window.location.hostname
+ '/') {
window.location.href = mirror +
- window.location.pathname +
+ window.location.pathname.substring(1) +
window.location.hash +
window.location.search;
}