diff --git a/pandora_console/install.php b/pandora_console/install.php index 3fba5c0376..e544e781b7 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -62,8 +62,8 @@
'; + $config_new = '' . PHP_EOL . PHP_EOL; $step7 = fputs ($cfgout, $config_new); $step7 = $step7 + fputs ($cfgout, $config_contents); if ($step7 > 0) @@ -882,8 +894,7 @@ function install_step4() { check_generic ($step2, "Populating database"); - if (PHP_OS == "FreeBSD") - { + if (PHP_OS == "FreeBSD") { $step_freebsd = adjust_paths_for_freebsd ($engine, $connection); check_generic ($step_freebsd, "Adjusting paths in database for FreeBSD"); } @@ -901,32 +912,32 @@ function install_step4() { $cfgout = fopen ($pandora_config,"w"); $config_contents = fread ($cfgin, filesize("include/config.inc.php")); $dbtype = 'oracle'; - $config_new = ''; + $config_new = '' . PHP_EOL . PHP_EOL; $step4 = fputs ($cfgout, $config_new); $step4 = $step4 + fputs ($cfgout, $config_contents); if ($step4 > 0) @@ -1000,8 +1011,7 @@ function install_step4() { check_generic ($step4, "Populating database"); - if (PHP_OS == "FreeBSD") - { + if (PHP_OS == "FreeBSD") { $step_freebsd = adjust_paths_for_freebsd ($engine, $connection); check_generic ($step_freebsd, "Adjusting paths in database for FreeBSD"); } @@ -1101,32 +1111,32 @@ function install_step4() { $cfgout = fopen ($pandora_config,"w"); $config_contents = fread ($cfgin, filesize("include/config.inc.php")); $dbtype = 'postgresql'; - $config_new = ''; + $config_new = '' . PHP_EOL . PHP_EOL; $step7 = fputs ($cfgout, $config_new); $step7 = $step7 + fputs ($cfgout, $config_contents); if ($step7 > 0)