From f757771128c7c9414a35ac2743ff123934a8b211 Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Fri, 09 Jan 2015 10:39:04 -0500
Subject: [PATCH] - Made sure SQL backups from servers that differ from the server where the website is on can be restored. A download of the backup is not possible in such a case, therefore I hide the "Download" button.

---
 interface/web/dashboard/ajax_get_json.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/interface/web/dashboard/ajax_get_json.php b/interface/web/dashboard/ajax_get_json.php
index 4829418..2bc21d4 100644
--- a/interface/web/dashboard/ajax_get_json.php
+++ b/interface/web/dashboard/ajax_get_json.php
@@ -66,6 +66,9 @@
 	// vhostsubdomains
 	$result[] = _search('sites', 'web_vhost_subdomain', "AND type = 'vhostsubdomain'");
 
+	// vhostaliasdomains
+	$result[] = _search('sites', 'web_vhost_aliasdomain', "AND type = 'vhostalias'");
+
 	// FTP users
 	$result[] = _search('sites', 'ftp_user');
 

--
Gitblit v1.9.1