Skip to content

Commit dad69ec

Browse files
author
Gabor Hojtsy
committed
standardise on redirection methods, plug in missing folders
1 parent 788665d commit dad69ec

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

backend/index.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<?php
2-
// Simulate a /backend shortcut call
1+
<?php
2+
// $Id$
3+
4+
// Simulate a /backend shortcut call (which will lead to a manual page)
35
$_SERVER['REQUEST_URI'] = '/backend';
46
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
57
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
6-
?>

bin/index.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
2-
// Simulate a /bin shortcut call
2+
// $Id$
3+
4+
// Simulate a /bin shortcut call (which will lead to a manual page)
35
$_SERVER['REQUEST_URI'] = '/bin';
46
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
57
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
6-
?>

include/index.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
2-
// Simulate a /include shortcut call
2+
// $Id$
3+
4+
// Simulate a /include shortcut call (which will lead to a manual page)
35
$_SERVER['REQUEST_URI'] = '/include';
46
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
57
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
6-
?>

pear/index.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
2-
// Simulate a /pear shortcut call
2+
// $Id$
3+
4+
// Simulate a /pear shortcut call (which will lead to a manual page)
35
$_SERVER['REQUEST_URI'] = '/pear';
46
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
57
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
6-
?>

styles/index.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
// $Id$
3+
4+
// Simulate a /styles shortcut call (which will lead to a manual page)
5+
$_SERVER['REQUEST_URI'] = '/styles';
6+
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
7+
include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';

0 commit comments

Comments
 (0)