Merge remote-tracking branch 'github/master' into ghMaster

This commit is contained in:
Sarjuuk
2015-06-28 17:17:41 +02:00
2 changed files with 4 additions and 3 deletions

View File

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

View File

@@ -54,7 +54,8 @@ class FileGen
'static/uploads/screenshots/resized', 'static/uploads/screenshots/resized',
'static/uploads/screenshots/temp', 'static/uploads/screenshots/temp',
'static/uploads/screenshots/thumb', 'static/uploads/screenshots/thumb',
'static/uploads/temp/' 'static/uploads/temp/',
'static/download/searchplugins/'
); );
public static $txtConstants = array( public static $txtConstants = array(