Update sql_query_db.php

This commit is contained in:
FusionPBX 2019-04-17 09:42:12 -06:00 committed by GitHub
parent 8a0c36ff30
commit 4763997bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 14 deletions

View File

@ -17,31 +17,37 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('exec_sql')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('exec_sql')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
require_once "resources/header.php";
$document['title'] = $text['title-databases'];
//add the header and title
require_once "resources/header.php";
$document['title'] = $text['title-databases'];
require_once "resources/paging.php";
//include paging
require_once "resources/paging.php";
//get variables used to control the order
$order_by = $_GET["order_by"];