projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5360f23
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:50:03 +0000
(07:50 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:50:03 +0000
(07:50 +0000)
switch_user.cgi
patch
|
blob
|
history
diff --git
a/switch_user.cgi
b/switch_user.cgi
index
2fea218
..
9bb8470
100755
(executable)
--- a/
switch_user.cgi
+++ b/
switch_user.cgi
@@
-2,7
+2,9
@@
# switch_user.cgi
# Force the webserver to re-authenticate
-require './web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
&init_config();
&get_miniserv_config(\%miniserv);
$id = $$.time();