mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Fixes #1768 - Support for port number in mysql-server during installation. ie. localhost:port
This commit is contained in:
@@ -273,6 +273,11 @@ class e_db_mysql
|
||||
$this->mySQLuser = $mySQLuser;
|
||||
$this->mySQLpassword = $mySQLpassword;
|
||||
$this->mySQLerror = false;
|
||||
|
||||
if(strpos($mySQLserver,':')!==false)
|
||||
{
|
||||
list($this->mySQLserver,$this->mySQLport) = explode(':',$mySQLserver,2);
|
||||
}
|
||||
|
||||
if($this->pdo) // PDO
|
||||
{
|
||||
|
Reference in New Issue
Block a user