diff --git a/app/xml_cdr/download.php b/app/xml_cdr/download.php new file mode 100644 index 0000000000..42f926f4d5 --- /dev/null +++ b/app/xml_cdr/download.php @@ -0,0 +1,45 @@ + + Portions created by the Initial Developer are Copyright (C) 2017 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ + +//includes + require_once "root.php"; + require_once "resources/require.php"; + +//check permisions + require_once "resources/check_auth.php"; + if (permission_exists('xml_cdr_view')) { + //access granted + } + else { + echo "access denied"; + exit; + } + +//download + $obj = new xml_cdr; + $obj->download(); + +?>