mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Use DB class instead of Settings class where advanced settings functions are not used
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\Games;
|
||||
|
||||
|
||||
$pdo = new Settings();
|
||||
$pdo = new DB();
|
||||
$game = new Games(['Echo' => true, 'Settings' => $pdo]);
|
||||
|
||||
$res = $pdo->query(
|
||||
|
||||
Reference in New Issue
Block a user