mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
Fixing usage of some variables.
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ class MiscSorter
|
||||
*/
|
||||
public function __construct($echooutput = false, &$pdo = null)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);
|
||||
$this->qty = 100;
|
||||
|
||||
$this->pdo = ($pdo instanceof DB ? $pdo : new DB());
|
||||
|
||||
@@ -20,7 +20,7 @@ class Book
|
||||
*/
|
||||
public function __construct($echooutput = false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$s = new Sites();
|
||||
$site = $s->get();
|
||||
$this->pubkey = $site->amazonpubkey;
|
||||
|
||||
@@ -22,7 +22,7 @@ class Console
|
||||
*/
|
||||
public function __construct($echooutput=false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$s = new Sites();
|
||||
$site = $s->get();
|
||||
$this->pubkey = $site->amazonpubkey;
|
||||
|
||||
@@ -26,7 +26,7 @@ class Movie
|
||||
*/
|
||||
public function __construct($echooutput=false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$s = new Sites();
|
||||
$site = $s->get();
|
||||
$this->apikey = $site->tmdbkey;
|
||||
|
||||
@@ -21,7 +21,7 @@ class Music
|
||||
*/
|
||||
public function __construct($echooutput=false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$s = new Sites();
|
||||
$site = $s->get();
|
||||
$this->pubkey = $site->amazonpubkey;
|
||||
|
||||
@@ -34,7 +34,7 @@ class PostProcess
|
||||
*/
|
||||
public function __construct($echooutput=false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$s = new Sites();
|
||||
$this->site = $s->get();
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class PreDB
|
||||
*/
|
||||
public function __construct($echooutput=true)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ class TheTVDB
|
||||
|
||||
public function __construct($echooutput = true)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
$this->MIRROR = 'http://www.thetvdb.com';
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ class TvRage
|
||||
|
||||
public function __construct($echooutput = false)
|
||||
{
|
||||
$this->echooutput = $echooutput;
|
||||
$this->echooutput = (NN_ECHOCLI && $echooutput);;
|
||||
|
||||
$this->xmlFullSearchUrl = "http://services.tvrage.com/feeds/full_search.php?show=";
|
||||
$this->xmlFullShowInfoUrl = "http://services.tvrage.com/feeds/full_show_info.php?sid=";
|
||||
|
||||
Reference in New Issue
Block a user