mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
Use DB class instead of Settings class where advanced settings functions are not used
This commit is contained in:
@@ -3,10 +3,10 @@ require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR .
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\ConsoleTools;
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
$category = new Category();
|
||||
$pdo = new Settings();
|
||||
$pdo = new DB();
|
||||
$consoletools = new ConsoleTools(['ColorCLI' => $pdo->log]);
|
||||
$ran = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user