projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
887d4cc
)
Support running under usermin
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 3 Jan 2011 01:57:57 +0000
(17:57 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 3 Jan 2011 01:57:57 +0000
(17:57 -0800)
man/man-lib.pl
patch
|
blob
|
history
diff --git
a/man/man-lib.pl
b/man/man-lib.pl
index
962e9d6
..
d59da52
100755
(executable)
--- a/
man/man-lib.pl
+++ b/
man/man-lib.pl
@@
-3,6
+3,9
@@
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
+if ($module_info{'usermin'}) {
+ &switch_to_remote_user();
+ }
$google_host = "www.google.com";
$google_port = 80;