X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fadmins_functions.php;h=dd8d99dcbfe8d60433c37edf015087c011192dee;hp=b613105fa409c312379ffcf39ec120d603cdec30;hb=1c4e78c5d68b97b82a3b930aa6db1e6df188f653;hpb=648afd5e9ca91e878a755fdb5438ac6103a4ac7e diff --git a/inc/libs/admins_functions.php b/inc/libs/admins_functions.php index b613105fa4..dd8d99dcbf 100644 --- a/inc/libs/admins_functions.php +++ b/inc/libs/admins_functions.php @@ -110,14 +110,14 @@ function adminsCheckAdminAcl ($action, $what) { } // Check ACL and (maybe) allow - //* DEBUG: */ print 'default='.$default.',acl_mode='.$acl_mode.',parent='.intval($parent).'
'; + //* DEBUG: */ debugOutput('default='.$default.',acl_mode='.$acl_mode.',parent='.intval($parent)); if (($default == 'allow') || (($default == 'deny') && ($acl_mode == 'allow')) || ($parent === true) || (($default == '***') && ($acl_mode == 'failed') && ($parent === false))) { // Access is granted $ret = true; } // END - if // Return value - //* DEBUG: */ outputHtml(__FUNCTION__."[".__LINE__."]:act={$action},wht={$whatOR},default={$default},acl_mode={$acl_mode}
"); + //* DEBUG: */ debugOutput(__FUNCTION__.'['.__LINE__.']:act='.$action.',wht='.$what.',default='.$default.',acl_mode='.$acl_mode); return $ret; }