@@ -24,7 +24,7 @@
Mark J Crane <[email protected]>
*/
include "root.php";
-require_once "includes/config.php";
+require_once "includes/require.php";
require_once "includes/checkauth.php";
if (if_group("admin") || if_group("superadmin")) {
//access granted
@@ -27,7 +27,7 @@
POSSIBILITY OF SUCH DAMAGE.
if (permission_exists('flashphoner_view')) {
@@ -28,7 +28,7 @@
/*
@@ -1,6 +1,6 @@
<?php
require_once "root.php";
require_once "includes/header.php";
require_once "includes/paging.php";
if (count($_GET)>0) {
$id = check_str($_GET["id"]);
//action add or update
if (isset($_REQUEST["id"])) {
@@ -26,7 +26,7 @@
if (permission_exists('xmpp_view')) {
if (permission_exists('xmpp_delete')) {
if (permission_exists('ticket_add') || permission_exists('ticket_update')) {
if (permission_exists('ticket_view') || permission_exists('ticket_update')) {
if (permission_exists('ticket_view')) {
if (permission_exists('contacts_view')) {
if (permission_exists('contacts_delete')) {
if (permission_exists('contacts_add') || permission_exists('contacts_edit')) {
@@ -143,7 +143,7 @@ function insert_db_row($db, $line, $places, $table, $domain_uuids) {
if (!if_group("admin") && !if_group("superadmin")) {
printf("access denied");