mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Fixes #1831 - MySQL alternate port fix.
This commit is contained in:
@@ -185,6 +185,10 @@ class e_db_mysql
|
|||||||
$this->mySQLPrefix = $mySQLPrefix;
|
$this->mySQLPrefix = $mySQLPrefix;
|
||||||
$this->mySQLerror = false;
|
$this->mySQLerror = false;
|
||||||
|
|
||||||
|
if(strpos($mySQLserver,':')!==false)
|
||||||
|
{
|
||||||
|
list($this->mySQLserver,$this->mySQLport) = explode(':',$mySQLserver,2);
|
||||||
|
}
|
||||||
|
|
||||||
if($this->pdo)
|
if($this->pdo)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user