<?php /* $Id$ */ // License for all code of this FreePBX module can be found in the license file inside the module directory // Copyright 2015 Sangoma Technologies. // if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); } echo FreePBX::Music()->showPage();
/** * Backward compatibility function * @param string $path The path * @return array Array of music categories */ function music_list($path = null) { return FreePBX::Music()->getAllMusic($path); }