serverquery using config for cron
This commit is contained in:
parent
f1e8755e96
commit
f9694b4580
@ -2,7 +2,7 @@
|
||||
class cron_players_online_ts implements \SYSTEM\CRON\cronjob{
|
||||
public static function run(){
|
||||
\LIB\lib_ts3::php();
|
||||
$ts3 = TeamSpeak3::factory('serverquery://'.
|
||||
$ts3 = PlanetTeamSpeak\TeamSpeak3Framework\TeamSpeak3::factory('serverquery://'.
|
||||
\SYSTEM\CONFIG\config::get(\config_ids::TEAMSPEAK_QUERY_USER).':'.
|
||||
\SYSTEM\CONFIG\config::get(\config_ids::TEAMSPEAK_QUERY_PASSWORD).'@'.
|
||||
\SYSTEM\CONFIG\config::get(\config_ids::TEAMSPEAK_HOST).':10011/');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user