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

index 3cba5e7..217e131 100644 (file)
@@ -1,9 +1,9 @@
 # Common functions for the bacula config file
 # XXX schedule chooser on IE
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 use Time::Local;
 if (&foreign_check("node-groups")) {
        &foreign_require("node-groups", "node-groups-lib.pl");