1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00
Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-03-03 15:48:24 -08:00
parent 2f3d98b24b
commit cde798ea9f

30
resources/www/index.php Normal file
View file

@ -0,0 +1,30 @@
<?php
/**
* This is the source for <http://www.phabricator.com/>.
*/
$path = $_REQUEST['__path__'];
$host = $_SERVER['HTTP_HOST'];
if ($host == 'secure.phabricator.com') {
// If the user is requesting a secure.phabricator.com resource over HTTP,
// redirect them to HTTPS.
header('Location: https://secure.phabricator.com/'.$path);
}
?>
<!doctype html>
<head>
<title>Phabricator</title>
</head>
<body>
<h1>Phabricator</h1>
<ul>
<li><a href="https://secure.phabricator.com/">Phabricator Install for Phabricator Development</a></li>
<li><a href="docs/libphutil/">Libphutil Docs</a></li>
<li><a href="docs/arcanist/">Arcanist Docs</a></li>
<li><a href="docs/phabricator/">Phabricator Docs</a></li>
<li><a href="docs/javelin/">Javelin Docs</a></li>
</ul>
</body>
</html>