mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
beta home page according to the result of myphpnet_beta(). This will allow us to modify the content of the home page without influencing the current stable site. Added index-beta.php and index-stable.php which are exact copies of the previous index.php.
10 lines
297 B
PHP
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';
|
|
}
|