cvs: phpweb /include index.php
| From: | Hojtsy Gabor | Date: | Sat, 07 Jul 2001 10:33:43 +0000 |
| Subject: | cvs: phpweb /include index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5265@lists.php.net to get a copy of this message | ||
goba Sat Jul 7 06:33:43 2001 EDT
Modified files:
/phpweb/include index.php
Log:
Reverted Jim's commit (using the new function)
Index: phpweb/include/index.php
diff -u phpweb/include/index.php:1.5 phpweb/include/index.php:1.6
--- phpweb/include/index.php:1.5 Fri Jul 6 20:55:37 2001
+++ phpweb/include/index.php Sat Jul 7 06:33:42 2001
@@ -1,2 +1,11 @@
<?php
-header("Location: /");
+
+require_once 'prepend.inc';
+
+$lang = default_language();
+if (is_dir($lang)) {
+ header("Location: /manual/$lang/function.include.php");
+}
+header("Location: /manual/en/function.include.php");
+
+?>