This commit is contained in:
2018-10-17 11:14:36 +03:00
parent 75a35947e5
commit 04d60d7e2c
2716 changed files with 431449 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Icecast
*
* @author adm_azashchepkin
*/
class Icecast {
public static function getConnection(){
$paramsPath = ROOT.'/config/icecast.php';
$params = include($paramsPath);
$radio = [];
$radio['host'] = $params['icecast_host']; // Сервер, на котором висит Icecast
$radio['ip'] = $params['icecast_ip']; // Сервер, на котором висит Icecast
$radio['port'] = $params['icecast_port']; // Порт
return $radio;
}
}