From 5ebebe0da2f3192e53b52b2856187bbf2fd0c33e Mon Sep 17 00:00:00 2001 From: RedDragonWebDesign Date: Tue, 6 Feb 2024 22:42:51 -0800 Subject: [PATCH] installer: fix indenting when generating _config.php --- src/installer/steps/configtemplate.php | 53 +++++++++++++------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/src/installer/steps/configtemplate.php b/src/installer/steps/configtemplate.php index d0374199..85473582 100644 --- a/src/installer/steps/configtemplate.php +++ b/src/installer/steps/configtemplate.php @@ -8,31 +8,30 @@ $configInput = " +/* +* BlueThrust Clan Scripts +* Copyright ".date("Y")." +* +* Author: Bluethrust Web Development +* E-mail: support@bluethrust.com +* Website: http://www.bluethrust.com +* +* License: http://www.bluethrust.com/license.php +* +*/ + +\$dbhost = \"".$_POST['dbhost']."\"; +\$dbuser = \"".$_POST['dbuser']."\"; +\$dbpass = \"".$filterConfigPass."\"; +\$dbname = \"".$_POST['dbname']."\"; + +\$dbprefix = \"".$_POST['tableprefix']."\"; + +\$MAIN_ROOT = \"".$setMainRoot."\"; +\$BASE_DIRECTORY = \"".$setDocumentRoot."\"; + +\$ADMIN_KEY = \"".$filterConfigKey."\"; // KEY FOR EXTRA SECURITY WHEN ADDING CONSOLE OPTION + +define(\"ADMIN_KEY\", \$ADMIN_KEY); + ";