[commits] [Wiki] changed: RemoteImapImpHook
Wiki Guest
wikiguest at horde.org
Thu Jul 19 21:05:43 UTC 2018
guest [95.222.191.53] Thu, 19 Jul 2018 21:05:43 +0000
Modified page: https://wiki.horde.org/RemoteImapImpHook
New Revision: 2
Change log: "localhost" was the hardcoded Database host
@@ -39,9 +39,9 @@
$dbhost = $conf[ 'server' ][ 'name' ];
$dbuser = $conf[ 'sql' ][ 'username' ];
$dbpasswd = $conf[ 'sql' ][ 'password' ];
$dbname = $conf[ 'sql' ][ 'database' ];
- $mysqli = new mysqli( "localhost", $dbuser, $dbpasswd, $dbname );
+ $mysqli = new mysqli( $dbhost, $dbuser, $dbpasswd, $dbname );
if( $mysqli->connect_error )
{
die( 'Cannot access username mapping database' );
}
More information about the commits
mailing list