Fisrt batch of changes from site to settings.

This commit is contained in:
Darko
2015-05-28 15:59:55 +02:00
parent dac7585cc9
commit 553d68c234
168 changed files with 789 additions and 839 deletions
@@ -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();