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

index 73bdcfa..6983e72 100644 (file)
@@ -1,10 +1,9 @@
 #!/usr/local/bin/perl
-#
 # Common functions for managing smf services
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 require '../javascript-lib.pl';
 
 do 'wizard.pl';