1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Issue #3463 - Alt-auth missing port field.

This commit is contained in:
Cameron
2018-10-02 12:15:58 -07:00
parent a78b44f48e
commit 3959c998c4
7 changed files with 16 additions and 5 deletions

View File

@@ -97,7 +97,8 @@ class auth_login extends alt_auth_base
if ($connect_only) return AUTH_SUCCESS; // Test mode may just want to connect to the DB
*/
$dsn = 'mysql:dbname=' . $this->conf['e107db_database'] . ';host=' . $this->conf['e107db_server'];
// $dsn = 'mysql:dbname=' . $this->conf['e107db_database'] . ';host=' . $this->conf['e107db_server'];
$dsn = "mysql:host=".$this->conf['e107db_server'].";port=".varset($this->conf['e107db_port'],3306).";dbname=".$this->conf['e107db_database'];
try
{