This commit is contained in:
Karl Hudgell 2015-07-08 11:58:49 +01:00
parent 348e0c3fa1
commit 937b1772d8
2 changed files with 10 additions and 1 deletions

View File

@ -81,6 +81,7 @@ $kknowledge = "http://kknowledge.tk";
$kspot = "http://spot.k-world.me.uk";
$torrentname = "";
$sickname = "";
$couchname = "";
?>
<?php
@ -98,3 +99,11 @@ if ($sicktype > "1") {
$sickname = "SickBeard";
}
?>
<?php
if ($cpkidsvisible > "0") {
$couchname = "CPAdults";
} else {
$couchname = "CouchPotato";
}
?>

View File

@ -34,7 +34,7 @@ if ($sickvisible > "0") {
$configs['services']["$sickname"] = $sickport;
}
if ($cpadultsvisible > "0") {
$configs['services']['CPAdults'] = $cpadults;
$configs['services']["$couchname"] = $cpadults;
}
if ($cpkidsvisible > "0") {
$configs['services']['CPKids'] = $cpkids;