Update domain_settings.php
This commit is contained in:
parent
12921a4e86
commit
5f34def4b6
|
|
@ -23,19 +23,22 @@
|
|||
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('domain_setting_view')) {
|
||||
//includes
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check prmissions
|
||||
if (permission_exists('domain_setting_view')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (sizeof($_REQUEST) > 1) {
|
||||
//toggle enabled
|
||||
if (sizeof($_REQUEST) > 1) {
|
||||
|
||||
$action = check_str($_REQUEST["action"]);
|
||||
$domain_uuid = check_str($_REQUEST["domain_id"]);
|
||||
|
|
@ -82,8 +85,7 @@ if (sizeof($_REQUEST) > 1) {
|
|||
header("Location: domain_edit.php?id=".check_str($_REQUEST["domain_uuid"]));
|
||||
exit;
|
||||
}
|
||||
|
||||
} //REQUEST
|
||||
}
|
||||
|
||||
//include the paging
|
||||
require_once "resources/paging.php";
|
||||
|
|
@ -315,4 +317,5 @@ if (sizeof($_REQUEST) > 1) {
|
|||
|
||||
//include the footer
|
||||
//require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue