Commit 440932a
authored
Fixed error of database not downloading from UI (hestiacp#4876)
Redirection for the download request from GUI was not working, which was also redirecting to:
`This site cannot be accessed
The website at site/download/database/?database=dbname_db&token=token` may be temporarily down or has been permanently moved to a new web address.
`ERR_INVALID_RESPONSE`
@sahsanu provided the manual fix as: `sed -i 's/\$output\[1\]/\$output\[0\]/' /usr/local/hestia/web/download/database/index.php`
Basically the file does save in the `/backup` folder, but was not redirecting at UI level.
@jaapmarcus please review.
More details: https://forum.hestiacp.com/t/18306/1 parent f6c7f42 commit 440932a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
0 commit comments