
Originally Posted by
batta
Skip-
Very nice addition. This eliminates any excuses for not backing up early and often.
A question, though, that may show my ignorance. The ReadMe says "NOTE: If you intend to download files, we STRONGLY recommend you do it only via a secure SSL / HTTPS: connection."
I have SSL on my site. To download via SSL do I do this by manually changing http to https on the Download Backup Archive page each time I go there?
I have looked through backup_zc.php, backup_zconfig.php, and backup_zc_download.php and could spot nothing that would automatically make the Download Backup Archive page SSL nor otherwise make the download SSL protected. I prefer not to modify my admin/includes/configure.php to make my entire admin area SSL protected.
Thanks.
I know that you did not want to activate SSL in the configure file but there is no way around it. But if you store the backup to the server and then sftp the file down. You would be using the secure sftp transfer and would not have to change the configure setting in ZC admin.
The way ZC works with zen_href_link function you would have to set define('ENABLE_SSL_ADMIN', 'true') in the admin/includes/configure.php
And add this code to backup_zc.php around line 158 find
PHP Code:
$_SESSION = array_merge($_SESSION, $_POST);
header('Location: '. zen_href_link(FILENAME_ZC_DOWNLOAD) .'');
exit();
Change to look like this:
PHP Code:
$_SESSION = array_merge($_SESSION, $_POST);
// Download using SSL or NOT
if (ENABLE_SSL_ADMIN != 'true') {
header('Location: '. zen_href_link(FILENAME_ZC_DOWNLOAD) .'');
} else {
header('Location: '. zen_href_link(FILENAME_ZC_DOWNLOAD,'', 'SSL') .'');
}
exit();
This change and the Go Daddy fix will be in the next update.
Skip
Bookmarks