KLanding/config.php.sample

228 lines
4.3 KiB
Plaintext
Raw Normal View History

2015-07-02 19:33:06 +01:00
<?php
2015-07-11 20:34:36 +01:00
//// Server Settings
2015-07-03 09:22:01 +01:00
$yourname = ""; // Set this to your name
2015-07-03 11:56:33 +01:00
$base = ""; //Set this to your url (without http://)
2015-07-11 20:34:36 +01:00
//
2015-07-03 09:22:01 +01:00
$user = ""; // Username for logging on
$pass = ""; // Password for logging on
2015-07-11 20:34:36 +01:00
////
2015-07-02 19:33:06 +01:00
2015-07-11 20:34:36 +01:00
///////////// Main Link Settings /////////////
//// SAB Settings
2015-07-08 10:58:32 +01:00
$sabvisible = ""; // Set to turn on or off links (0 = Off 1 = On)
2015-07-26 08:33:54 +01:00
$sabname = ""; // Set an alternate name to the default displayed
$sabpicname = ""; // Set an alternate image, you can upload with picupload.html, then just enter the name of the file you uploaded e.g. "sab.png"
2015-07-03 11:26:09 +01:00
$sabport = ""; // Set the ports for your services
2015-07-11 20:34:36 +01:00
////
//// SickBeard Settings
2015-07-08 10:58:32 +01:00
$sickvisible = "";
2015-07-08 11:17:08 +01:00
$sicktype = "1"; // 1 = Sickbeard / 2 = SickRage
2015-07-09 23:11:54 +01:00
$sickname = "";
2015-07-10 12:37:53 +01:00
$sickpicname = "";
2015-07-03 11:26:09 +01:00
$sickport = "";
2015-07-11 20:34:36 +01:00
////
//// CouchPotato Settings
2015-07-10 09:35:18 +01:00
// CPAdults Settings
2015-07-08 10:58:32 +01:00
$couchvisible = "";
$cpadultsvisible = "";
2015-07-09 23:11:54 +01:00
$cpadultsname = "";
2015-07-10 12:37:53 +01:00
$cpadultspicname = "";
2015-07-03 11:26:09 +01:00
$cpadults = "";
2015-07-10 09:35:18 +01:00
// CPKids Settings
2015-07-08 10:58:32 +01:00
$cpkidsvisible = ""; // Set to 0 if only running single couch instance
2015-07-09 23:25:12 +01:00
$cpkidsname = "";
2015-07-10 12:37:53 +01:00
$cpkidspicname = "";
2015-07-03 11:26:09 +01:00
$cpkids = "";
2015-07-11 20:34:36 +01:00
////
//// Torrent Settings
2015-07-17 14:26:02 +01:00
$torrentvisible = "1";
2015-07-08 11:17:08 +01:00
$torrenttype = "1"; // 1 = uTorrent / 2 = Transmission
2015-07-09 23:11:54 +01:00
$torrentname = "";
2015-07-10 12:37:53 +01:00
$torrentpicname = "";
2015-07-08 10:58:32 +01:00
$torrentport = ""; // uTorrent = 86 / Transmission = 9091
2015-07-11 20:34:36 +01:00
////
//// FTP Settings
2015-07-17 14:26:02 +01:00
$ftpvisible = "1";
2015-07-09 23:25:12 +01:00
$ftpname = "";
2015-07-10 12:37:53 +01:00
$ftppicname = "";
2015-07-26 08:33:54 +01:00
$ftpport = "21";
2015-07-11 20:34:36 +01:00
////
//// MadSonic Settings
2015-07-17 14:26:02 +01:00
$madsonicvisible = "1";
2015-07-09 23:25:12 +01:00
$madsonicname = "";
2015-07-10 12:37:53 +01:00
$madsonicpicname = "";
2015-07-03 11:26:09 +01:00
$madsonicport = "";
2015-07-11 20:34:36 +01:00
////
//// Plex Settings
2015-07-17 14:26:02 +01:00
$plexvisible = "1";
2015-07-09 23:25:12 +01:00
$plexname = "";
2015-07-10 12:37:53 +01:00
$plexpicname = "";
2015-07-26 08:33:54 +01:00
$plexport = "32400";
2015-07-11 20:34:36 +01:00
////
//// Squeezebox Settings
2015-07-17 14:26:02 +01:00
$squeezevisible = "1";
2015-07-09 23:25:12 +01:00
$squeezename = "";
2015-07-10 12:37:53 +01:00
$squeezepicname = "";
2015-07-26 08:33:54 +01:00
$squeezeport = "9000";
2015-07-11 20:34:36 +01:00
////
//// Jdownloader Settings
2015-07-17 14:26:02 +01:00
$jdownloadervisible = "1";
2015-07-09 23:25:12 +01:00
$jdownloadername = "";
2015-07-10 12:37:53 +01:00
$jdownloaderpicname = "";
2015-07-11 20:34:36 +01:00
////
2015-07-08 10:58:32 +01:00
2015-07-11 20:34:36 +01:00
////////// Widget Settings ///////////
//// Drive Space Settings
2015-07-05 09:57:32 +01:00
$drivespacevisible = "1"; // Set to turn on or off drive space (0 = no 1 = yes)
2015-07-11 20:34:36 +01:00
//
2015-07-05 09:57:32 +01:00
$drive1visible = "1"; // Set drive visible or not ()0 = no 1 = yes)
2015-07-03 11:09:33 +01:00
$drive1 = "C:"; // Set the hard drives to display
2015-07-11 20:34:36 +01:00
//
2015-07-03 14:46:27 +01:00
$drive2visible = "1";
2015-07-03 11:09:33 +01:00
$drive2 = "D:";
2015-07-11 20:34:36 +01:00
//
2015-07-05 07:52:52 +01:00
$drive3visible = "1";
2015-07-03 11:09:33 +01:00
$drive3 = "E:";
2015-07-11 20:34:36 +01:00
//
2015-07-05 07:52:52 +01:00
$drive4visible = "1";
2015-07-03 11:09:33 +01:00
$drive4 = "F:";
2015-07-11 20:34:36 +01:00
//
2015-07-05 07:52:52 +01:00
$drive5visible = "1";
2015-07-03 11:09:33 +01:00
$drive5 = "G:";
2015-07-11 20:34:36 +01:00
//
2015-07-05 07:52:52 +01:00
$drive6visible = "1";
2015-07-03 11:09:33 +01:00
$drive6 = "H:";
2015-07-11 20:34:36 +01:00
//
2015-07-05 07:52:52 +01:00
$drive7visible = "1";
2015-07-03 11:09:33 +01:00
$drive7 = "J:";
2015-07-11 20:34:36 +01:00
////
2015-07-02 19:33:06 +01:00
2015-07-11 20:34:36 +01:00
//// Server Status Settings
2015-07-10 22:04:32 +01:00
$serverstatusvisible = "1";
2015-07-11 20:34:36 +01:00
//
2015-07-10 22:04:32 +01:00
$server1visible = "1";
2015-07-26 08:33:54 +01:00
$server1name = "Karl"; // Set to Server Name to track
$server1url = "home.k-world.me.uk"; // Set to Server URL to track (without http://)
2015-07-11 20:34:36 +01:00
//
2015-07-26 08:33:54 +01:00
$server2visible = "2";
$server2name = "k";
$server2url = "google.com";
2015-07-11 20:34:36 +01:00
//
2015-07-26 08:33:54 +01:00
$server3visible = "1";
$server3name = "1";
$server3url = "google.com";
2015-07-11 20:34:36 +01:00
//
2015-07-26 08:33:54 +01:00
$server4visible = "1";
$server4name = "1";
$server4url = "google.com";
2015-07-11 20:34:36 +01:00
////
//// Custom Feeds
$customfeed1visible = "";
$customfeed1name = "";
$customfeed1url = "";
//
$customfeed2visible = "";
$customfeed2name = "";
$customfeed2url = "";
//
$customfeed3visible = "";
$customfeed3name = "";
$customfeed3url = "";
////
//// Set widgets visible or not (0 = no 1 = yes)
2015-07-10 22:04:32 +01:00
$servicesvisible = "1";
2015-07-03 14:46:27 +01:00
$clockvisible = "1";
$kknowledgefeedvisible = "1";
$webclipfeedvisible = "1";
2015-07-11 20:34:36 +01:00
////
2015-07-02 19:33:06 +01:00
2015-07-05 09:57:32 +01:00
2015-07-11 20:34:36 +01:00
////////////// do not edit past here ///////////////////////
2015-07-02 19:33:06 +01:00
$local = "1";
$ftp = "ftp://$base";
2015-07-03 11:26:09 +01:00
$http = "http:/";
2015-07-02 19:33:06 +01:00
$myurl = "http://$base";
$webclip = "http://webclip.ml";
$kknowledge = "http://kknowledge.tk";
$kspot = "http://spot.k-world.me.uk";
2015-07-02 19:35:33 +01:00
?>
2015-07-08 11:17:08 +01:00
<?php
if ($torrenttype > "1") {
$torrentname = "Transmission";
} else {
$torrentname = "uTorrent";
}
?>
<?php
if ($sicktype > "1") {
$sickname = "SickRage";
} else {
$sickname = "SickBeard";
}
2015-07-08 11:58:49 +01:00
?>
<?php
if ($cpkidsvisible > "0") {
$couchname = "CPAdults";
} else {
2015-07-17 14:26:02 +01:00
if (empty($cpadultsname)) {
$couchname = "CouchPotato";
} else {
$couchname = "$cpadultsname";
}
2015-07-08 11:58:49 +01:00
}
2015-07-17 12:31:52 +01:00
?>
2015-07-17 14:26:02 +01:00
<?php
if (empty($cpkidsname)) {
$cpkidsname= "CPKids";
} else {
$cpkidsname= "$cpkidsname";
}
?>
2015-07-17 12:31:52 +01:00
<?php
if (empty($sabname)) {
$sabname = "SABNZBD";
} else {
$sabname = "$sabname";
}
2015-07-17 14:26:02 +01:00
?>
<?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";
}
?>