We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53d3cd commit 35bcf20Copy full SHA for 35bcf20
install/update.php
@@ -69,6 +69,12 @@
69
include_once('dist/lib/'.$distname.'.lib.php');
70
include_once('dist/conf/'.$distname.'.conf.php');
71
72
+//** Get hostname
73
+exec('hostname -f', $tmp_out);
74
+$conf['hostname'] = $tmp_out[0];
75
+unset($tmp_out);
76
+
77
78
//** Set the mysql login information
79
$conf["mysql"]["host"] = $conf_old["db_host"];
80
$conf["mysql"]["database"] = $conf_old["db_database"];
0 commit comments