Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //set the include path $conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE); set_include_path(parse_ini_file($conf[0])['document.root']); //includes files require_once "resources/require.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('recording_play')) { //access granted } else { echo "access denied"; exit; } //get the variables $filename = $_GET['filename']; $type = $_GET['type']; //moh //rec //show the content ?>
"; } else { echo ""; echo "\n"; } } if ($file_ext == "mp3") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } ?>