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

index 6866b79..6fe832d 100644 (file)
@@ -1,9 +1,9 @@
 # cluster-shell-lib.pl
 # Doesn't really contain anything ..
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 &foreign_require("servers", "servers-lib.pl");
 
 $commands_file = "$module_config_directory/commands";