You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
996 B

<?php
/*
meinhard_jahn@web.de, 20041102: link to acl_test2.php and acl_test3.php
*/
/*
if (!empty($_GET['debug'])) {
$debug = $_GET['debug'];
}
*/
//First make sure user has access
require_once("../../interface/globals.php");
use OpenEMR\Common\Acl\AclMain;
use OpenEMR\Common\Twig\TwigContainer;
//ensure user has proper access
if (!AclMain::aclCheckCore('admin', 'acl')) {
echo (new TwigContainer(null, $GLOBALS['kernel']))->getTwig()->render('core/unauthorized.html.twig', ['pageTitle' => xl("ACL Administration")]);
exit;
}
@set_time_limit(600);
require_once('../profiler.inc');
$profiler = new Profiler(true,true);
require_once("gacl_admin.inc.php");
$smarty->assign("return_page", $_SERVER['PHP_SELF'] );
$smarty->assign('current','acl_test');
$smarty->assign('page_title', 'ACL Test');
$smarty->assign("phpgacl_version", $gacl_api->get_version() );
$smarty->assign("phpgacl_schema_version", $gacl_api->get_schema_version() );
$smarty->display('phpgacl/acl_test.tpl');
?>