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"; $kspot = "http://spot.k-world.me.uk";
$torrentname = ""; $torrentname = "";
$sickname = ""; $sickname = "";
$couchname = "";
?> ?>
<?php <?php
@ -97,4 +98,12 @@ if ($sicktype > "1") {
} else { } else {
$sickname = "SickBeard"; $sickname = "SickBeard";
} }
?>
<?php
if ($cpkidsvisible > "0") {
$couchname = "CPAdults";
} else {
$couchname = "CouchPotato";
}
?> ?>

View File

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