Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 03:00:59 +0000 (03:00 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 03:00:59 +0000 (03:00 +0000)
htaccess-htpasswd/htaccess-lib.pl

index 1cb217a..96f871e 100644 (file)
@@ -1,11 +1,9 @@
 # htaccess-lib.pl
 # Common functions for the htaccess and htpasswd file management module
-# XXX check if MD5 is installed, if offered
-# XXX same for SHA1
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 do 'htpasswd-file-lib.pl';
 
 @accessdirs = ( );