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

index 3c74a6d..477577f 100644 (file)
@@ -5,9 +5,9 @@
 #     - XML::Parser  XML::Generator
 # XXX - admin <read> and <write> - what do they mean?
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 if ($config{'jabber_lib'}) {
        $ENV{$gconfig{'ld_env'}} .= ':' if ($ENV{$gconfig{'ld_env'}});