Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 20:54:07 +0000 (20:54 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 20:54:07 +0000 (20:54 +0000)
postgresql/postgresql-lib.pl

index 43ee3a2..5254ac3 100644 (file)
@@ -1,11 +1,10 @@
 # postgresql-lib.pl
 # Common PostgreSQL functions
 # XXX updating date field
-# XXX access control and schema tables
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 if ($config{'plib'}) {
        $ENV{$gconfig{'ld_env'}} .= ':' if ($ENV{$gconfig{'ld_env'}});
        $ENV{$gconfig{'ld_env'}} .= $config{'plib'};