From 4db5c3c0413999b31abb34537b5fa4f800eba6dc Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 9 Apr 2014 14:24:07 +0000 Subject: [PATCH] Fix the conf directory copy used during the install --- resources/install.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/install.php b/resources/install.php index 8399ae0c8a..a922f257eb 100644 --- a/resources/install.php +++ b/resources/install.php @@ -1281,10 +1281,8 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist $src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf"; } $dst_dir = $switch_conf_dir; - if (!file_exists($dst_dir)) { - if (is_readable($dst_dir)) { - $install->recursive_copy($src_dir, $dst_dir); - } + if (is_readable($dst_dir)) { + $install->recursive_copy($src_dir, $dst_dir); } //print_r($install->result);