Update phrase_detail_delete.php

This commit is contained in:
FusionPBX
2019-02-05 18:28:57 -07:00
committed by GitHub
parent 43ca227dae
commit bc3b1bf24a
+14 -12
View File
@@ -17,24 +17,26 @@
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) 2008-2012 Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
*/ */
include "root.php"; //includes
require_once "resources/require.php"; include "root.php";
require_once "resources/check_auth.php"; require_once "resources/require.php";
require_once "resources/functions/save_phrases_xml.php"; require_once "resources/check_auth.php";
require_once "resources/functions/save_phrases_xml.php";
if (permission_exists('phrase_delete')) { //check permissions
//access granted if (permission_exists('phrase_delete')) {
} //access granted
else { }
echo "access denied"; else {
exit; echo "access denied";
} exit;
}
//add multi-lingual support //add multi-lingual support
$language = new text; $language = new text;