projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
550b2b7
)
Use new module in top-level CGIs
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:59 +0000
(07:49 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:49:59 +0000
(07:49 +0000)
switch_skill.cgi
patch
|
blob
|
history
diff --git
a/switch_skill.cgi
b/switch_skill.cgi
index
0b02dd1
..
9c9ae87
100755
(executable)
--- a/
switch_skill.cgi
+++ b/
switch_skill.cgi
@@
-2,7
+2,9
@@
# switch_skill.cgi
# Change the skill level of the current user
-require './web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
&init_config();
&ReadParse();
$gconfig{'skill_'.$base_remote_user} = $in{'skill'};