1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

standardise on redirection methods, plug in missing folders

This commit is contained in:
Gabor Hojtsy
2006-09-20 18:50:35 +00:00
parent 788665d36d
commit dad69ec158
5 changed files with 20 additions and 9 deletions

View File

@@ -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 File

@@ -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 File

@@ -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 File

@@ -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
styles/index.php Normal file
View File

@@ -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';