From 9572394962af50a244a5ff0d0dc6415056aad37e Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 22 May 2015 19:15:04 +0100 Subject: [PATCH] Global var and echo progress on creation --- lib/updater.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/updater.php b/lib/updater.php index ad9b433..cbec434 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -193,13 +193,14 @@ function transposeSettings($oldFile,$newFile,$saveFile) { } function copyOverSettings($icvInfo) { - global $updateDone; + global $updateDone, $configSettings; // System settings echo 'Transposing system settings...
'; // Create a new config file if it doesn't exist yet. // The reason we create it, is so it has PHP write permissions, meaning we can update it later if (!file_exists(dirname(__FILE__)."/".$configSettings)) { + echo 'Creating new settings file...
'; // Include our params to make use of (as $newConfigSettingsFile) include(dirname(__FILE__)."/settings-system-params.php"); if ($fConfigSettings = fopen(dirname(__FILE__)."/".$configSettings, 'w')) {