Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:55:12 +0000 (22:55 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:55:12 +0000 (22:55 +0000)
link/index.cgi

index 2b12b48..dc9f909 100755 (executable)
@@ -2,9 +2,9 @@
 # index.cgi
 # Redirect to another URL
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 $url = $access{'link'} || $config{'link'};
 $host = $ENV{'HTTP_HOST'};