Skip to content

Commit

Permalink
standardise on redirection methods, plug in missing folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabor Hojtsy committed Sep 20, 2006
1 parent 788665d commit dad69ec
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
7 changes: 4 additions & 3 deletions backend/index.php
Original file line number Diff line number Diff line change
@@ -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';
?>
5 changes: 3 additions & 2 deletions bin/index.php
Original file line number Diff line number Diff line change
@@ -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';
?>
5 changes: 3 additions & 2 deletions include/index.php
Original file line number Diff line number Diff line change
@@ -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';
?>
5 changes: 3 additions & 2 deletions pear/index.php
Original file line number Diff line number Diff line change
@@ -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';
?>
7 changes: 7 additions & 0 deletions styles/index.php
Original file line number Diff line number Diff line change
@@ -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.