mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Fixing the URL shortcut simlulations
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Simulate a /backend shortcut call
|
||||
$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/backend';
|
||||
include_once 'prepend.inc';
|
||||
$REQUEST_URI = '/backend';
|
||||
include_once "$DOCUMENT_ROOT/error/index.php";
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Simulate a /bin shortcut call
|
||||
$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/bin';
|
||||
include_once 'prepend.inc';
|
||||
$REQUEST_URI = '/bin';
|
||||
include_once "$DOCUMENT_ROOT/error/index.php";
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Simulate a /images shortcut call
|
||||
$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/images';
|
||||
include_once 'prepend.inc';
|
||||
$REQUEST_URI = '/images';
|
||||
include_once "$DOCUMENT_ROOT/error/index.php";
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Simulate a /include shortcut call
|
||||
$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/include';
|
||||
include_once 'prepend.inc';
|
||||
$REQUEST_URI = '/include';
|
||||
include_once "$DOCUMENT_ROOT/error/index.php";
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Simulate a /pear shortcut call
|
||||
$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/pear';
|
||||
include_once 'prepend.inc';
|
||||
$REQUEST_URI = '/pear';
|
||||
include_once "$DOCUMENT_ROOT/error/index.php";
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user