Get rid of trailing tabs, correct some of the vertical line spacing, and other minor changes.

This commit is contained in:
markjcrane 2015-11-27 18:04:59 -07:00
parent 367997a5ed
commit 25e67742a5
1 changed files with 48 additions and 47 deletions

View File

@ -204,6 +204,7 @@ include "root.php";
global $db; global $db;
$db = $this->dbh; $db = $this->dbh;
} }
protected function create_database_sqlite() { protected function create_database_sqlite() {
//sqlite database will be created when the config.php is loaded and only if the database file does not exist //sqlite database will be created when the config.php is loaded and only if the database file does not exist
try { try {
@ -512,7 +513,6 @@ include "root.php";
unset ($file_contents, $sql); unset ($file_contents, $sql);
} }
protected function create_domain() { protected function create_domain() {
$this->write_progress("Checking if domain exists '" . $this->domain_name . "'"); $this->write_progress("Checking if domain exists '" . $this->domain_name . "'");
$sql = "select * from v_domains "; $sql = "select * from v_domains ";
@ -529,7 +529,7 @@ include "root.php";
if($result['domain_enabled'] != 'true'){ if($result['domain_enabled'] != 'true'){
throw new Exception("Domain already exists but is disabled, this is unexpected"); throw new Exception("Domain already exists but is disabled, this is unexpected");
} }
}else{ } else {
$this->write_progress("... creating domain"); $this->write_progress("... creating domain");
$sql = "insert into v_domains "; $sql = "insert into v_domains ";
$sql .= "("; $sql .= "(";
@ -1056,4 +1056,5 @@ include "root.php";
clearstatcache(); clearstatcache();
} }
} }
?> ?>