From: Marco R. <mre...@sw...> - 2004-03-07 14:02:49
|
Hi allsome I got some troubles with acl_security.pl. If i want to edit the rights for some user, i always get this error gamecom::acl_security_form failed : Undefined subroutine &gamecom::acl_security_form called at (eval 20) line 2. Webmin: 1.121 Here's my code: #!/usr/bin/perl -w do '../web-lib.pl'; &init_config(); sub acl_security_form { @servers = split (/,/$access{ed_srvrs}); @srv_actions = split (/\//,$access{srv_actions}); @pl_actions = split (/\//,$access{pl_actions}); print "<tr> <td colspan=2>Serverzugriff</td> </tr>"; foreach $server (@servers) { if ($server ne "X") { print "<tr> <td>User hat zugriff auf:</td> <td>$server Server<input type=checkbox name=ed_srvrs value=\"$server,\"> </td> </tr>"; } else { } } }; |