Call Recordings - Download: Minor code adjustments.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2016-2017
|
Portions created by the Initial Developer are Copyright (C) 2016-2020
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -27,9 +27,9 @@
|
|||||||
//includes
|
//includes
|
||||||
require_once "root.php";
|
require_once "root.php";
|
||||||
require_once "resources/require.php";
|
require_once "resources/require.php";
|
||||||
|
require_once "resources/check_auth.php";
|
||||||
|
|
||||||
//check permisions
|
//check permisions
|
||||||
require_once "resources/check_auth.php";
|
|
||||||
if (permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
|
if (permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
|
||||||
//access granted
|
//access granted
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user