mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixes #1831 - MySQL alternate port fix.
This commit is contained in:
@@ -184,8 +184,12 @@ class e_db_mysql
|
||||
$this->mySQLdefaultdb = $mySQLdefaultdb;
|
||||
$this->mySQLPrefix = $mySQLPrefix;
|
||||
$this->mySQLerror = false;
|
||||
|
||||
|
||||
|
||||
if(strpos($mySQLserver,':')!==false)
|
||||
{
|
||||
list($this->mySQLserver,$this->mySQLport) = explode(':',$mySQLserver,2);
|
||||
}
|
||||
|
||||
if($this->pdo)
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user