This repository has been archived by the owner on Jul 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
43 lines (43 loc) · 2.11 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
*Copyright (C) 2012-2013 Psychokiller
*
*This program is free software; you can redistribute it and/or modify it under the terms of
*the GNU General Public License as published by the Free Software Foundation; either
*version 3 of the License, or any later version.
*
*This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*See the GNU General Public License for more details.
*
*You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
if(!defined("SECURECHECK")) {die($lang['error_file_alone']);}
/*
REGARD!!
If you use the web interface, they must write the webserver ip in the query_ip_whitelist.txt.
After adding the ip, the server must be restarted!
Add more Server Ip's.
For Example
$server[0]['alias']= "Lokaler Server1";
$server[0]['ip']= "127.0.0.1";
$server[0]['tport']= "10011";
$server[1]['alias']= "Lokaler Server2";
$server[1]['ip']= "127.0.0.2";
$server[1]['tport']= "20022";
$server[2]['alias']= "Lokaler Server3";
$server[2]['ip']= "127.0.0.3";
$server[2]['tport']= "30033";
*/
$server[0]['alias'] = (!empty(getenv('ALIAS')) ? (string)getenv('ALIAS') : "Local TeamSpeak Server");
$server[0]['ip'] = (!empty(getenv('HOST')) ? (string)getenv('HOST') : "ts3");
$server[0]['tport'] = (!empty(getenv('PORT')) ? (string)getenv('PORT') : "10011");
// Available languages: German => "de", English => "en", Netherlandish => "nl"
$cfglang = (!empty(getenv('LANG')) ? (string)getenv('LANG') : "de");
$duration = "100"; //Set the Limit for Clients show per Page on Client List
$fastswitch=true; //If true you can switch the Server on the header
$showicons="left"; //Define the position where the icons on the Viewer will show left or right
$style="new"; //Chose your design set 'new' for the default design or the name of your own create design
$msgsend_name="Webinterface"; //This Name will be show if you send a message to a Server
$show_motd=true; // Set it to false to not show the message of the day window
?>