corrected path retrieval for test

added missing () when reporting domain name
This commit is contained in:
Matthew Vale
2015-12-03 10:49:38 +00:00
parent 90b8e4d707
commit 148f7207c5
2 changed files with 4 additions and 3 deletions
@@ -551,9 +551,9 @@ include "root.php";
}
protected function create_domain() {
$this->write_progress("\tChecking if domain exists '" . $this->global_settings->domain_name . "'");
$this->write_progress("\tChecking if domain exists '" . $this->global_settings->domain_name() . "'");
$sql = "select * from v_domains ";
$sql .= "where domain_name = '".$this->global_settings->domain_name."' ";
$sql .= "where domain_name = '".$this->global_settings->domain_name()."' ";
$sql .= "limit 1";
$this->write_debug($sql);
$prep_statement = $this->dbh->prepare(check_sql($sql));