fix(install) : back with -X POST curl

This commit is contained in:
mrflos 2023-02-01 17:50:57 +03:00
parent d251940394
commit ed6aa7154d

View file

@ -232,7 +232,7 @@ function copyYesWikiFiles($domain, $user, $dbUser)
exec($sudo.'mv '.$destDir.'/doryphore/* '.$destDir.'/');
exec($sudo.'rm -rf '.$destDir.'/doryphore');
unlink($tmpFile);
$curl = 'curl \
$curl = 'curl -X POST \
--data-urlencode \'config[default_language]=fr\' \
--data-urlencode \'config[wakka_name]='.$domain.'\' \
--data-urlencode \'config[root_page]=PagePrincipale\' \