fix pics
This commit is contained in:
parent
c1b8fb4dd4
commit
0147d99ccd
56
config.php
56
config.php
@ -35,38 +35,38 @@ $cpkidspicname = "";
|
||||
$cpkids = "";
|
||||
////
|
||||
//// Torrent Settings
|
||||
$torrentvisible = "";
|
||||
$torrentvisible = "1";
|
||||
$torrenttype = "1"; // 1 = uTorrent / 2 = Transmission
|
||||
$torrentname = "";
|
||||
$torrentpicname = "";
|
||||
$torrentport = ""; // uTorrent = 86 / Transmission = 9091
|
||||
////
|
||||
//// FTP Settings
|
||||
$ftpvisible = "";
|
||||
$ftpvisible = "1";
|
||||
$ftpname = "";
|
||||
$ftppicname = "";
|
||||
$ftpport = "";
|
||||
////
|
||||
//// MadSonic Settings
|
||||
$madsonicvisible = "";
|
||||
$madsonicvisible = "1";
|
||||
$madsonicname = "";
|
||||
$madsonicpicname = "";
|
||||
$madsonicport = "";
|
||||
////
|
||||
//// Plex Settings
|
||||
$plexvisible = "";
|
||||
$plexvisible = "1";
|
||||
$plexname = "";
|
||||
$plexpicname = "";
|
||||
$plexport = "";
|
||||
////
|
||||
//// Squeezebox Settings
|
||||
$squeezevisible = "";
|
||||
$squeezevisible = "1";
|
||||
$squeezename = "";
|
||||
$squeezepicname = "";
|
||||
$squeezeport = "";
|
||||
////
|
||||
//// Jdownloader Settings
|
||||
$jdownloadervisible = "";
|
||||
$jdownloadervisible = "1";
|
||||
$jdownloadername = "";
|
||||
$jdownloaderpicname = "";
|
||||
////
|
||||
@ -170,10 +170,22 @@ if ($sicktype > "1") {
|
||||
if ($cpkidsvisible > "0") {
|
||||
$couchname = "CPAdults";
|
||||
} else {
|
||||
if (empty($cpadultsname)) {
|
||||
$couchname = "CouchPotato";
|
||||
} else {
|
||||
$couchname = "$cpadultsname";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($cpkidsname)) {
|
||||
$cpkidsname= "CPKids";
|
||||
} else {
|
||||
$cpkidsname= "$cpkidsname";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($sabname)) {
|
||||
$sabname = "SABNZBD";
|
||||
@ -181,3 +193,35 @@ if (empty($sabname)) {
|
||||
$sabname = "$sabname";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($madsonicname)) {
|
||||
$madsonicname= "Madsonic";
|
||||
} else {
|
||||
$madsonicname= "$madsonicname";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($squeezename)) {
|
||||
$squeezename= "SqueezeBox";
|
||||
} else {
|
||||
$squeezename= "$squeezename";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($ftpname)) {
|
||||
$ftpname= "FTP";
|
||||
} else {
|
||||
$ftpname= "$ftpname";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (empty($plexname)) {
|
||||
$plexname= "Plex";
|
||||
} else {
|
||||
$plexname= "$plexname";
|
||||
}
|
||||
?>
|
||||
|
@ -27,28 +27,38 @@ $configs['server_ip'] = "$base"; // The Servers URL or IP to check.
|
||||
if ($torrentvisible > "0") {
|
||||
$configs['services']["$torrentname"] = $torrentport;
|
||||
}
|
||||
|
||||
if ($sabvisible > "0") {
|
||||
$configs['services']["$sabname"] = $sabport;
|
||||
}
|
||||
|
||||
if ($sickvisible > "0") {
|
||||
$configs['services']["$sickname"] = $sickport;
|
||||
}
|
||||
|
||||
if ($cpadultsvisible > "0") {
|
||||
$configs['services']["$couchname"] = $cpadults;
|
||||
}
|
||||
|
||||
if ($cpkidsvisible > "0") {
|
||||
$configs['services']['CPKids'] = $cpkids;
|
||||
$configs['services']["$cpkidsname"] = $cpkids;
|
||||
}
|
||||
|
||||
if ($ftpvisible > "0") {
|
||||
$configs['services']['FTP'] = $ftpport;
|
||||
$configs['services']["$ftpname"] = $ftpport;
|
||||
}
|
||||
|
||||
if ($madsonicvisible > "0") {
|
||||
$configs['services']['MadSonic'] = $madsonicport;
|
||||
$configs['services']["$madsonicname"] = $madsonicport;
|
||||
}
|
||||
|
||||
if ($plexvisible > "0") {
|
||||
$configs['services']['Plex'] = $plexport;
|
||||
$configs['services']["$plexname"] = $plexport;
|
||||
}
|
||||
|
||||
if ($squeezevisible > "0") {
|
||||
$configs['services']["$squeezename"] = $squeezeport;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user