Skip to content

Commit

Permalink
installer: fix indenting when generating _config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RedDragonWebDesign committed Feb 7, 2024
1 parent 591ca9c commit 5ebebe0
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions src/installer/steps/configtemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,30 @@

$configInput = "<?php
/*
* BlueThrust Clan Scripts
* Copyright ".date("Y")."
*
* Author: Bluethrust Web Development
* E-mail: [email protected]
* 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);
?>
/*
* BlueThrust Clan Scripts
* Copyright ".date("Y")."
*
* Author: Bluethrust Web Development
* E-mail: [email protected]
* 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);
";

0 comments on commit 5ebebe0

Please sign in to comment.