mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup: testSelf should reference README.md instead of README, otherwise setup will fail
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user