Use new module
authorJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:42 +0000 (21:29 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:42 +0000 (21:29 +0000)
change-user/change-user-lib.pl

index a95fbbc..8650c1f 100644 (file)
@@ -5,9 +5,9 @@ say here.
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 &foreign_require("acl", "acl-lib.pl");
 &foreign_require("webmin", "webmin-lib.pl");
 %access = &get_module_acl();