mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Fix more of getSetting.
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ class PProcess
|
||||
$this->site = $s->get();
|
||||
//\\ Class instances.
|
||||
$this->pdo = (($options['Settings'] instanceof DB) ? $options['Settings'] : new DB());
|
||||
$this->groups = (($options['Groups'] instanceof Groups) ? $options['Groups'] : new Groups(['Settings' => $this->pdo]));
|
||||
$this->groups = (($options['Groups'] instanceof Groups) ? $options['Groups'] : new Groups());
|
||||
$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]));
|
||||
|
||||
Reference in New Issue
Block a user