Skip to content
Snippets Groups Projects
Commit e4bc4a93 authored by Marius Cramer's avatar Marius Cramer
Browse files

Merge branch 'master' into 'master'

Vhostalias additions

added missing part for vhostalias in backup-cron
parents bed72531 5efc46e1
No related branches found
No related tags found
1 merge request!88Fix Update errors
......@@ -85,7 +85,7 @@ class cronjob_backup extends cronjob {
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment