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

index 6afa978..851b078 100644 (file)
@@ -1,10 +1,8 @@
 # Functions for managing the PHP configuration file
-# XXX install_check.pl
-# XXX backup_config.pl
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 # get_config([file])