Bläddra i källkod

Added rtorrent bypass cert check

CauseFX 6 år sedan
förälder
incheckning
80d4a79773
2 ändrade filer med 8 tillägg och 1 borttagningar
  1. 1 0
      api/config/default.php
  2. 7 1
      api/functions/homepage-functions.php

+ 1 - 0
api/config/default.php

@@ -96,6 +96,7 @@ return array(
 	'rTorrentSortOrder' => 'datea',
 	'rTorrentReverseSorting' => false,
 	'rTorrentCombine' => false,
+	'rTorrentDisableCertCheck' => false,
 	'homepageCalendarEnabled' => 'true',
 	'homepageCalendarAuth' => '4',
 	'calendariCal' => '',

+ 7 - 1
api/functions/homepage-functions.php

@@ -1480,7 +1480,13 @@ function getHomepageList()
 						'name' => 'rTorrentPassword',
 						'label' => 'Password',
 						'value' => $GLOBALS['rTorrentPassword']
-					)
+					),
+					array(
+						'type' => 'switch',
+						'name' => 'rTorrentDisableCertCheck',
+						'label' => 'Disable Certificate Check',
+						'value' => $GLOBALS['rTorrentDisableCertCheck']
+					),
 				),
 				'Misc Options' => array(
 					array(