Add site editable maxheadersiteration. Rename the setting name from max.headers.iteration to maxheadersiteration.

This commit is contained in:
DariusIII
2015-07-18 18:27:12 +02:00
parent a65d5ea2a3
commit f683ba72ea
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -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]);