mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-10 07:47:34 +00:00
Update for version 2.2.5
This commit is contained in:
parent
c2d6fccf59
commit
b29aa21fcc
@ -157,6 +157,7 @@ final class Settings {
|
|||||||
'kicks' => "${table_prefix}kicks",
|
'kicks' => "${table_prefix}kicks",
|
||||||
'history' => "${table_prefix}history",
|
'history' => "${table_prefix}history",
|
||||||
'servers' => "${table_prefix}servers",
|
'servers' => "${table_prefix}servers",
|
||||||
|
'config' => "${table_prefix}config",
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->driver = $driver;
|
$this->driver = $driver;
|
||||||
@ -181,7 +182,7 @@ final class Settings {
|
|||||||
try {
|
try {
|
||||||
$this->conn = new PDO($dsn, $username, $password, $options);
|
$this->conn = new PDO($dsn, $username, $password, $options);
|
||||||
|
|
||||||
$st = $this->conn->query("SELECT * FROM " . $this->table['servers'] . " LIMIT 1;");
|
$st = $this->conn->query("SELECT * FROM " . $this->table['config'] . " LIMIT 1;");
|
||||||
$st->fetch();
|
$st->fetch();
|
||||||
$st->closeCursor();
|
$st->closeCursor();
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user