mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix more errors.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
Fix: Change instantiation of classes
|
||||
Fix: Define missing NN_TMUX folder.
|
||||
Fix: More errors.
|
||||
Fix: even more errors.
|
||||
2015-10-15 DariusIII
|
||||
Bug: remove tvrage patch
|
||||
2015-10-15 DariusIII
|
||||
|
||||
@@ -391,7 +391,7 @@ class Games
|
||||
// Process Steam first before giantbomb
|
||||
// Steam has more details
|
||||
$this->_gameResults = [];
|
||||
$this->_getGame = new \Steam();
|
||||
$this->_getGame = new Steam();
|
||||
$this->_classUsed = "steam";
|
||||
$this->_getGame->cookie = $this->cookie;
|
||||
$this->_getGame->searchTerm = $gameInfo['title'];
|
||||
@@ -399,7 +399,7 @@ class Games
|
||||
$this->_gameResults = $this->_getGame->getAll();
|
||||
}
|
||||
if (count($this->_gameResults) < 1) {
|
||||
$this->_getGame = new \Desura();
|
||||
$this->_getGame = new Desura();
|
||||
$this->_classUsed = "desura";
|
||||
$this->_getGame->cookie = $this->cookie;
|
||||
$this->_getGame->searchTerm = $gameInfo['title'];
|
||||
@@ -408,7 +408,7 @@ class Games
|
||||
}
|
||||
}
|
||||
if (count($this->_gameResults) < 1) {
|
||||
$this->_getGame = new \Greenlight();
|
||||
$this->_getGame = new Greenlight();
|
||||
$this->_classUsed = "gl";
|
||||
$this->_getGame->cookie = $this->cookie;
|
||||
$this->_getGame->searchTerm = $gameInfo['title'];
|
||||
@@ -771,7 +771,7 @@ class Games
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
$result = false;
|
||||
}
|
||||
|
||||
@@ -794,7 +794,7 @@ class Games
|
||||
];
|
||||
$result = json_decode(json_encode($obj->game($this->_gameID, $fields)), true);
|
||||
$result = $result['results'];
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
$result = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ use newznab\utility\Utility;
|
||||
* decoding yEnc articles, decompressing article headers.
|
||||
* Extends PEAR's Net_NNTP_Client class, overrides some functions.
|
||||
*/
|
||||
class NNTP extends Net_NNTP_Client
|
||||
class NNTP extends \Net_NNTP_Client
|
||||
{
|
||||
public $pdo;
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@ namespace newznab\libraries;
|
||||
use \newznab\db\Settings;
|
||||
use \newznab\processing\PostProcess;
|
||||
use newznab\controllers\ColorCLI;
|
||||
use newznab\controllers\NZB;
|
||||
use newznab\controllers\RequestID;
|
||||
use newznab\controllers\NNTP;
|
||||
use newznab\controllers\Nfo;
|
||||
|
||||
require_once(NN_LIBS . 'forkdaemon-php' . DS . 'fork_daemon.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user