summaryrefslogtreecommitdiffstats
path: root/lib/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/install.php')
-rw-r--r--lib/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.php b/lib/install.php
index 16ce2b18..bb26cd47 100644
--- a/lib/install.php
+++ b/lib/install.php
@@ -132,7 +132,7 @@ function install_insert_db($username,$password,$hostname,$database,$dbuser=false
$data['database_hostname'] = $hostname;
$data['database_name'] = $database;
- Config::set_by_array($data,'1');
+ Config::set_by_array($data, true);
unset($data);
@@ -247,7 +247,7 @@ function install_create_config($web_path,$username,$password,$hostname,$database
$data['database_name'] = $database;
$data['web_path'] = $web_path;
- Config::set_by_array($data,'1');
+ Config::set_by_array($data, true);
/* Attempt to make DB connection */
$dbh = Dba::dbh();