Use new module in top-level CGIs
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:33 +0000 (07:49 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:33 +0000 (07:49 +0000)
group_chooser.cgi

index 2c99724..e8374c5 100755 (executable)
@@ -2,8 +2,10 @@
 # group_chooser.cgi
 # This CGI generated the HTML for choosing a group or list of groups.
 
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
 $trust_unknown_referers = 1;
-require './web-lib.pl';
 &init_config();
 &ReadParse(undef, undef, 2);
 %access = &get_module_acl();