1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/index.php
2012-03-28 11:38:45 +08:00

10 lines
297 B
PHP

<?php // vim: et
// show beta home page if user has requested the beta site.
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
if (myphpnet_beta()) {
include $_SERVER['DOCUMENT_ROOT'] . '/index-beta.php';
} else {
include $_SERVER['DOCUMENT_ROOT'] . '/index-stable.php';
}