From 937b1772d839813a3715ef3fe21934bbbe7a5d76 Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Wed, 8 Jul 2015 11:58:49 +0100 Subject: [PATCH] couch --- config.php | 9 +++++++++ configs_services.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config.php b/config.php index e6737a8..bc8554a 100644 --- a/config.php +++ b/config.php @@ -81,6 +81,7 @@ $kknowledge = "http://kknowledge.tk"; $kspot = "http://spot.k-world.me.uk"; $torrentname = ""; $sickname = ""; +$couchname = ""; ?> "1") { } else { $sickname = "SickBeard"; } +?> + + "0") { + $couchname = "CPAdults"; + } else { + $couchname = "CouchPotato"; + } ?> \ No newline at end of file diff --git a/configs_services.php b/configs_services.php index 671982a..c29e1bc 100644 --- a/configs_services.php +++ b/configs_services.php @@ -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;