}
// Remove die from config file
-copy_config_file();
+$fileContent = file_get_contents('./htconfig.php');
+$fileContent = str_replace('die', '//die', $fileContent);
+file_put_contents('.htautoinstall.php', $fileContent);
require_once 'boot.php';
require_once 'mod/install.php';
echo "\nInstallation is finished\n";
-function copy_config_file()
-{
- $fileContent = file_get_contents('./htconfig.php');
- $fileContent = str_replace('die', '//die', $fileContent);
- file_put_contents('.htautoinstall.php', $fileContent);
-}
-
/**
* @param App $app
* @return array