- fix loading version number from renamed internal assets
- remove various php notice/warnings from the webserver logs
This commit is contained in:
Jon Atkins
2013-05-03 05:39:54 +01:00
parent 48a7a688f8
commit 9575e4b4c2
4 changed files with 24 additions and 13 deletions

View File

@ -19,10 +19,13 @@ include_once ( "code/desktop-download.php" );
$path = "test";
if ( $_REQUEST['build'] == 'experimental' )
$path = "experimental";
if ( $_REQUEST['build'] == 'dev' )
$path = "dev";
if ( array_key_exists ( 'build', $_REQUEST ) )
{
if ( $_REQUEST['build'] == 'experimental' )
$path = "experimental";
if ( $_REQUEST['build'] == 'dev' )
$path = "dev";
}
if ( $path != "test" )
print "<div class=\"alert alert-block alert-error\"><b>NOTE</b>: A non-standard test build, <b>$path</b>, is currently selected. The notes <b>may not apply!</b> <a href=\"?page=test\">Return to the standard test build</a>.</div>";