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:
@@ -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';
|
||||
?>
|
||||
|
||||
@@ -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';
|
||||
?>
|
||||
|
||||
@@ -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';
|
||||
?>
|
||||
|
||||
@@ -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
7
styles/index.php
Normal 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';
|
||||
Reference in New Issue
Block a user