From 7c0a2192f774a38ecfacf5f65b57fe9441e24873 Mon Sep 17 00:00:00 2001 From: Carbenium Date: Sun, 28 Jun 2015 15:28:11 +0200 Subject: [PATCH 1/2] Setup: testSelf should reference README.md instead of README, otherwise setup will fail --- setup/tools/clisetup/firstrun.func.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/tools/clisetup/firstrun.func.php b/setup/tools/clisetup/firstrun.func.php index 4da48f9f..41c74e4c 100644 --- a/setup/tools/clisetup/firstrun.func.php +++ b/setup/tools/clisetup/firstrun.func.php @@ -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'; From 9897a6cf233b52c9a63e2d850f534947eeeec529 Mon Sep 17 00:00:00 2001 From: Carbenium Date: Sun, 28 Jun 2015 15:30:15 +0200 Subject: [PATCH 2/2] Setup: folder 'static/download/searchplugins/' has to be created during setup --- setup/tools/fileGen.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/tools/fileGen.class.php b/setup/tools/fileGen.class.php index 143282dc..d04c47b1 100644 --- a/setup/tools/fileGen.class.php +++ b/setup/tools/fileGen.class.php @@ -54,7 +54,8 @@ class FileGen 'static/uploads/screenshots/resized', 'static/uploads/screenshots/temp', 'static/uploads/screenshots/thumb', - 'static/uploads/temp/' + 'static/uploads/temp/', + 'static/download/searchplugins/' ); public static $txtConstants = array(