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

index d8f626f..a4e6f34 100644 (file)
@@ -10,9 +10,9 @@
 # See the GNU General Public License for more details.
 #
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 #$config_file = "./config-$gconfig{'os_type'}";
 $config_file = "$module_config_directory/config";