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

index 797b2a2..c522c62 100644 (file)
@@ -1,9 +1,9 @@
 # grub-lib.pl
 # Functions for parsing and editing a grub menu file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 %title_order = ( 'lock', 10,
                 'root', 5,