mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Add site editable maxheadersiteration. Rename the setting name from max.headers.iteration to maxheadersiteration.
This commit is contained in:
@@ -6,7 +6,7 @@ use newznab\db\Settings;
|
||||
|
||||
$pdo = new Settings();
|
||||
|
||||
$maxHeaders = $pdo->getSetting('max.headers.iteration') ?: 1000000;
|
||||
$maxHeaders = $pdo->getSetting('maxheadersiteration');
|
||||
|
||||
// Create the connection here and pass
|
||||
$nntp = new \NNTP(['Settings' => $pdo]);
|
||||
|
||||
Reference in New Issue
Block a user