mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #1831 - MySQL alternate port fix.
This commit is contained in:
parent
237510df10
commit
2420c979f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user