From cfa48e23b690e86369b91627e13f9a185eae78ab Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 25 May 2016 15:08:36 +0000 Subject: [PATCH] Check old-styled-config and check write-permissions --- include/tools.php | 13 ++++++++++--- setup.php | 7 ++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/include/tools.php b/include/tools.php index ebd41cd..07da051 100644 --- a/include/tools.php +++ b/include/tools.php @@ -55,10 +55,17 @@ function createConfigLines() { } function checkSetup() { - if (file_exists ("setup.php")) { + if (null == DISTRIBUTION) { ?> - + + + \ No newline at end of file diff --git a/setup.php b/setup.php index 586c187..bbb3c8e 100644 --- a/setup.php +++ b/setup.php @@ -20,7 +20,12 @@ include "include/tools.php"; + + +