mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Change site table to settings table, move files around and adjust to new settings table. patchDB needs to be fixed for the final patch is is used for.
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
require_once(dirname(__FILE__) . "/../../../bin/config.php");
|
||||
|
||||
use newznab\db\DB;
|
||||
use newznab\db\Settings;
|
||||
|
||||
|
||||
|
||||
$pdo = new DB();
|
||||
$pdo = new Settings();
|
||||
$console = new \Konsole(['Echo' => true, 'Settings' => $pdo]);
|
||||
|
||||
$res = $pdo->queryDirect(sprintf("SELECT searchname, id FROM releases WHERE consoleinfoid IS NULL AND categoryid BETWEEN 1000 AND 1999 ORDER BY id DESC" ));
|
||||
|
||||
Reference in New Issue
Block a user