1
0
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:
Gabor Hojtsy
2003-05-03 15:59:06 +00:00
parent 499c949b76
commit d701af95fb
5 changed files with 5 additions and 5 deletions

View File

@@ -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";
?>

View File

@@ -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";
?>

View File

@@ -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";
?>

View File

@@ -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";
?>

View File

@@ -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";
?>