Update phrases.php
This commit is contained in:
parent
2ebb734912
commit
be82a36f1f
|
|
@ -24,9 +24,16 @@
|
|||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
include "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
//includes
|
||||
include "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check the permission
|
||||
if (!permission_exists('phrase_view')) {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
|
|
@ -36,12 +43,6 @@ require_once "resources/check_auth.php";
|
|||
$order_by = $_GET["order_by"];
|
||||
$order = $_GET["order"];
|
||||
|
||||
//check the permission
|
||||
if (!permission_exists('phrase_view')) {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add paging
|
||||
require_once "resources/paging.php";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue