cvs: phpweb /include index.php
| From: | Colin Viebrock | Date: | Tue, 10 Apr 2001 17:20:36 +0000 |
| Subject: | cvs: phpweb /include index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4675@lists.php.net to get a copy of this message | ||
cmv Tue Apr 10 10:20:36 2001 EDT
Modified files:
/phpweb/include index.php
Log:
Fix so that xx.php.net/include is more useful :)
Index: phpweb/include/index.php
diff -u phpweb/include/index.php:1.2 phpweb/include/index.php:1.3
--- phpweb/include/index.php:1.2 Wed Mar 7 16:18:09 2001
+++ phpweb/include/index.php Tue Apr 10 10:20:35 2001
@@ -1,3 +1,11 @@
-<?
- Header("Location: /");
+<?php
+require_once 'prepend.inc';
+
+$lang = $MIRRORS[$MYSITE][6];
+if (is_dir($lang)) {
+ header("Location: /manual/$lang/function.include.php");
+}
+header("Location: /manual/en/function.include.php");
+
+
?>