Setup: testSelf should reference README.md instead of README, otherwise setup will fail

This commit is contained in:
Carbenium
2015-06-28 15:28:11 +02:00
parent 92b180ca05
commit 7c0a2192f7

View File

@@ -150,8 +150,8 @@ function firstrun($resume)
$prot = $res['force_ssl'] ? 'https://' : 'http://';
if ($res['site_host'])
{
if (!$test($prot.$res['site_host'].'/README', $resp))
$error[] = ' * could not access '.$prot.$res['site_host'].'/README ['.$resp.']';
if (!$test($prot.$res['site_host'].'/README.md', $resp))
$error[] = ' * could not access '.$prot.$res['site_host'].'/README.md ['.$resp.']';
}
else
$error[] = ' * SITE_HOST is empty';