mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-09 15:27:32 +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",
|
||||
'history' => "${table_prefix}history",
|
||||
'servers' => "${table_prefix}servers",
|
||||
'config' => "${table_prefix}config",
|
||||
);
|
||||
|
||||
$this->driver = $driver;
|
||||
@ -181,7 +182,7 @@ final class Settings {
|
||||
try {
|
||||
$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->closeCursor();
|
||||
} catch (PDOException $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user