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

index 9521f31..9da47c5 100644 (file)
@@ -1,8 +1,8 @@
 # Common functions for editing the Frox config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 @ui_tds = ( undef, "nowrap" );
 
 # get_config()