Merge pull request #1139 from itflow-org/cron-scripts-move

config.php has to be written to parent dir
This commit is contained in:
wrongecho
2025-01-02 21:45:36 +00:00
committed by GitHub

View File

@@ -378,7 +378,7 @@ if (!$non_interactive) {
}
// finalize config
$myfile = fopen("config.php", "a");
$myfile = fopen("../config.php", "a");
$txt = "\$config_enable_setup = 0;\n\n";
fwrite($myfile, $txt);
fclose($myfile);