3 meinhard_jahn@web.de, 20041102: link to acl_test2.php and acl_test3.php
6 if (!empty($_GET['debug'])) {
7 $debug = $_GET['debug'];
10 //First make sure user has access
11 require_once("../../interface/globals.php");
13 use OpenEMR\Common\Acl\AclMain
;
14 use OpenEMR\Common\Twig\TwigContainer
;
16 //ensure user has proper access
17 if (!AclMain
::aclCheckCore('admin', 'acl')) {
18 echo (new TwigContainer(null, $GLOBALS['kernel']))->getTwig()->render('core/unauthorized.html.twig', ['pageTitle' => xl("ACL Administration")]);
24 require_once('../profiler.inc.php');
25 $profiler = new Profiler(true,true);
27 require_once("gacl_admin.inc.php");
29 $smarty->assign("return_page", $_SERVER['PHP_SELF'] );
31 $smarty->assign('current','acl_test');
32 $smarty->assign('page_title', 'ACL Test');
34 $smarty->assign("phpgacl_version", $gacl_api->get_version() );
35 $smarty->assign("phpgacl_schema_version", $gacl_api->get_schema_version() );
37 $smarty->display('phpgacl/acl_test.tpl');