Permalink
Browse files

standardise on redirection methods, plug in missing folders

  • Loading branch information...
1 parent 788665d commit dad69ec158804ae9695f7b6d7d537078fb2cc7b1 Gabor Hojtsy committed Sep 20, 2006
Showing with 20 additions and 9 deletions.
  1. +4 −3 backend/index.php
  2. +3 −2 bin/index.php
  3. +3 −2 include/index.php
  4. +3 −2 pear/index.php
  5. +7 −0 styles/index.php
View
7 backend/index.php
@@ -1,6 +1,7 @@
-<?php
-// Simulate a /backend shortcut call
+<?php
+// $Id$
+
+// Simulate a /backend shortcut call (which will lead to a manual page)
$_SERVER['REQUEST_URI'] = '/backend';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
-?>
View
5 bin/index.php
@@ -1,6 +1,7 @@
<?php
-// Simulate a /bin shortcut call
+// $Id$
+
+// Simulate a /bin shortcut call (which will lead to a manual page)
$_SERVER['REQUEST_URI'] = '/bin';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
-?>
View
5 include/index.php
@@ -1,6 +1,7 @@
<?php
-// Simulate a /include shortcut call
+// $Id$
+
+// Simulate a /include shortcut call (which will lead to a manual page)
$_SERVER['REQUEST_URI'] = '/include';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
-?>
View
5 pear/index.php
@@ -1,6 +1,7 @@
<?php
-// Simulate a /pear shortcut call
+// $Id$
+
+// Simulate a /pear shortcut call (which will lead to a manual page)
$_SERVER['REQUEST_URI'] = '/pear';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
-?>
View
7 styles/index.php
@@ -0,0 +1,7 @@
+<?php
+// $Id$
+
+// Simulate a /styles shortcut call (which will lead to a manual page)
+$_SERVER['REQUEST_URI'] = '/styles';
+include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
+include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';

0 comments on commit dad69ec

Please sign in to comment.