Update voicemail_messages.php

This commit is contained in:
FusionPBX
2016-12-03 11:49:51 -07:00
committed by GitHub
parent 1548cfebf9
commit bffe4b9f00
+5
View File
@@ -23,8 +23,12 @@
Contributor(s): Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
*/ */
//includes
require_once "root.php"; require_once "root.php";
require_once "resources/require.php"; require_once "resources/require.php";
//check permissions
if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]) == "email")) { if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]) == "email")) {
require_once "resources/check_auth.php"; require_once "resources/check_auth.php";
if (permission_exists('voicemail_message_view')) { if (permission_exists('voicemail_message_view')) {
@@ -253,4 +257,5 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]
//include the footer //include the footer
require_once "resources/footer.php"; require_once "resources/footer.php";
?> ?>