CMD_API_SITE_BACKUP action=restore returns no result

Version 1.291


When using the action=restore option for CMD_API_SITE_BACKUP, the defaut browser action was being used, which is to not give any text output, and only return a "Location:" header in the browser. The fix is to API-ize the return values for sucess and fail. Succecs was a regular template meaning it would be a pile of html with the text instead of a url encoded result.

Interested to try DirectAdmin? Get a 30-day Free Trial!