From be38365f1c892c99914c408e3a1d8c396a31663e Mon Sep 17 00:00:00 2001 From: Dominik <info@profi-webdesign.com> Date: Tue, 29 Dec 2015 18:56:37 -0500 Subject: [PATCH] Posibility to change main-domain of aps-instance over remote (in interface maindomain is always the websites domain but over remote it's now possible to set an alias oder subdomain, that will be used in instance-settings. Important if e.g. wordpress-installation should run unter an aliasdomain instead of the websites domain) --- interface/lib/classes/db_mysql.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/db_mysql.inc.php b/interface/lib/classes/db_mysql.inc.php index edd1f7a..c7105ec 100644 --- a/interface/lib/classes/db_mysql.inc.php +++ b/interface/lib/classes/db_mysql.inc.php @@ -678,7 +678,7 @@ $old_rec = array(); $index_value = $this->insertID(); - $new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ? = ?", $tablename, $index_field, $index_value); + $new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ?? = ?", $tablename, $index_field, $index_value); $this->datalogSave($tablename, 'INSERT', $index_field, $index_value, $old_rec, $new_rec); return $index_value; -- Gitblit v1.9.1