Dominik Mueller
2014-03-09 5efc46e1ab68a24c5758958061bd873e117e120e
added missing part for vhostalias in cron-backup-script
1 files modified
2 ■■■ changed files
server/lib/classes/cron.d/500-backup.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/cron.d/500-backup.inc.php
@@ -85,7 +85,7 @@
            if($run_backups){
                //* backup only active domains
                $sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain') AND active = 'y'";
                $sql = "SELECT * FROM web_domain WHERE server_id = '".$conf['server_id']."' AND (type = 'vhost' OR type = 'vhostsubdomain' OR type = 'vhostalias') AND active = 'y'";
                $records = $app->db->queryAllRecords($sql);
                if(is_array($records)) {
                    foreach($records as $rec) {