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
commit c2f82bbe0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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);