mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
perform install test
This commit is contained in:
@@ -40,13 +40,11 @@ class DB
|
||||
return self::$instance = $instance;
|
||||
}
|
||||
|
||||
|
||||
public function connect($host, $username, $password, $database, $port)
|
||||
{
|
||||
if (!$this->isConnected()) {
|
||||
$this->driver->connect($host, $username, $password, $database, $port);
|
||||
$this->isConnected = true;
|
||||
}
|
||||
$this->driver->connect($host, $username, $password, $database, $port);
|
||||
$this->isConnected = true;
|
||||
do_log("do mysql_connect with: " . json_encode(func_get_args()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user