add return to core/header (#2995)
[openemr.git] / gacl / admin / acl_test.php
blob8acfe863a2af1ba68ee8f7b7b1d37cb16441b7ad
1 <?php
2 /*
3 meinhard_jahn@web.de, 20041102: link to acl_test2.php and acl_test3.php
4 */
5 /*
6 if (!empty($_GET['debug'])) {
7 $debug = $_GET['debug'];
9 */
10 //First make sure user has access
11 require_once("../../interface/globals.php");
13 use OpenEMR\Common\Acl\AclMain;
15 //ensure user has proper access
16 if (!AclMain::aclCheckCore('admin', 'acl')) {
17 echo xlt('ACL Administration Not Authorized');
18 exit;
21 @set_time_limit(600);
23 require_once('../profiler.inc');
24 $profiler = new Profiler(true,true);
26 require_once("gacl_admin.inc.php");
28 $smarty->assign("return_page", $_SERVER['PHP_SELF'] );
30 $smarty->assign('current','acl_test');
31 $smarty->assign('page_title', 'ACL Test');
33 $smarty->assign("phpgacl_version", $gacl_api->get_version() );
34 $smarty->assign("phpgacl_schema_version", $gacl_api->get_schema_version() );
36 $smarty->display('phpgacl/acl_test.tpl');