1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Fixes #1831 - MySQL alternate port fix.

This commit is contained in:
Cameron
2016-09-19 13:38:59 -07:00
parent 237510df10
commit 2420c979f8

View File

@@ -185,6 +185,10 @@ class e_db_mysql
$this->mySQLPrefix = $mySQLPrefix;
$this->mySQLerror = false;
if(strpos($mySQLserver,':')!==false)
{
list($this->mySQLserver,$this->mySQLport) = explode(':',$mySQLserver,2);
}
if($this->pdo)
{