KLanding/configs_services.php

54 lines
1.1 KiB
PHP
Raw Normal View History

2015-07-02 19:33:06 +01:00
<?php include 'config.php';?>
<?php
/*
* Script: Server Status
* Author: Martin Dixon
* From: Tutorial-Resource.com
* URL: www.tutorial-resource.com
* Version: 1.0
* License: Free
*/
/********
DO NOT EDIT THESE CONFIG LINES.
*/
$configs = array();
$configs['services'] = array();
/********
DO NOT EDIT THESE CONFIG LINES.
********/
# You may edit these configs.
$configs['server_ip'] = "$base"; // The Servers URL or IP to check.
# For services simply add new lines with the Name and port number.
2015-07-08 11:17:08 +01:00
if ($torrentvisible > "0") {
$configs['services']["$torrentname"] = $torrentport;
}
if ($sabvisible > "0") {
2015-07-02 19:33:06 +01:00
$configs['services']['SABNZBD'] = $sabport;
2015-07-08 11:17:08 +01:00
}
if ($sickvisible > "0") {
$configs['services']["$sickname"] = $sickport;
}
if ($cpadultsvisible > "0") {
2015-07-08 11:58:49 +01:00
$configs['services']["$couchname"] = $cpadults;
2015-07-08 11:17:08 +01:00
}
if ($cpkidsvisible > "0") {
2015-07-02 19:33:06 +01:00
$configs['services']['CPKids'] = $cpkids;
2015-07-08 11:17:08 +01:00
}
if ($ftpvisible > "0") {
2015-07-02 19:33:06 +01:00
$configs['services']['FTP'] = $ftpport;
2015-07-08 11:17:08 +01:00
}
if ($madsonicvisible > "0") {
2015-07-02 19:33:06 +01:00
$configs['services']['MadSonic'] = $madsonicport;
2015-07-08 11:17:08 +01:00
}
if ($plexvisible > "0") {
$configs['services']['Plex'] = $plexport;
}
2015-07-02 19:33:06 +01:00
?>