mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Fisrt batch of changes from site to settings.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
require_once dirname(__FILE__) . '/../../../../www/config.php';
|
||||
|
||||
use newznab\db\DB;
|
||||
use newznab\db\Settings;
|
||||
use newznab\utility\Utility;
|
||||
|
||||
|
||||
$pdo = new DB();
|
||||
$pdo = new Settings();
|
||||
$tRun = new \TmuxRun($pdo);
|
||||
$tOut = new \TmuxOutput($pdo);
|
||||
|
||||
@@ -62,7 +62,7 @@ while ($runVar['counts']['iterations'] > 0) {
|
||||
//check the db connection
|
||||
if ($pdo->ping(true) == false) {
|
||||
unset($pdo);
|
||||
$pdo = new DB();
|
||||
$pdo = new Settings();
|
||||
}
|
||||
|
||||
$timer01 = time();
|
||||
|
||||
Reference in New Issue
Block a user