Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:11:24 +0000 (21:11 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:11:24 +0000 (21:11 +0000)
quota/quota-lib.pl

index bd8806b..bd90c55 100755 (executable)
@@ -18,9 +18,9 @@ Example code:
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 if ($gconfig{'os_type'} =~ /^\S+\-linux$/) {
        do "linux-lib.pl";
        }