mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Reverted the changes
This commit is contained in:
+4
-3
@@ -108,15 +108,16 @@ class PProcess
|
||||
$options += $defaults;
|
||||
|
||||
//\\ Various.
|
||||
$this->echooutput = ($options['Echo'] && NN_ECHOCLI);
|
||||
$this->echooutput = ($options['Echo'] && nZEDb_ECHOCLI);
|
||||
//\\
|
||||
|
||||
//\\ Class instances.
|
||||
$this->pdo = (($options['Settings'] instanceof DB) ? $options['Settings'] : new DB(['Settings' => $this->pdo]));
|
||||
$this->pdo = (($options['Settings'] instanceof Settings) ? $options['Settings'] : new Settings());
|
||||
$this->groups = (($options['Groups'] instanceof Groups) ? $options['Groups'] : new Groups(['Settings' => $this->pdo]));
|
||||
$this->_par2Info = new Par2Info();
|
||||
$this->debugging = ($options['Logger'] instanceof Logger ? $options['Logger'] : new Logger(['ColorCLI' => $this->pdo->log]));
|
||||
$this->nameFixer = (($options['NameFixer'] instanceof NameFixer) ? $options['NameFixer'] : new NameFixer(['Echo' => $this->echooutput, 'Settings' => $this->pdo, 'Groups' => $this->groups]));
|
||||
$this->Nfo = (($options['Nfo'] instanceof Info ) ? $options['Nfo'] : new Info());
|
||||
$this->Nfo = (($options['Nfo'] instanceof Info ) ? $options['Nfo'] : new Info(['Echo' => $this->echooutput, 'Settings' => $this->pdo]));
|
||||
$this->releaseFiles = (($options['ReleaseFiles'] instanceof ReleaseFiles) ? $options['ReleaseFiles'] : new ReleaseFiles($this->pdo));
|
||||
//\\
|
||||
|
||||
|
||||
Reference in New Issue
Block a user