projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c89f8
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 20:59:49 +0000
(20:59 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 20:59:49 +0000
(20:59 +0000)
proc/proc-lib.pl
patch
|
blob
|
history
diff --git
a/proc/proc-lib.pl
b/proc/proc-lib.pl
index
e2e0739
..
5ee1112
100644
(file)
--- a/
proc/proc-lib.pl
+++ b/
proc/proc-lib.pl
@@
-1,15
+1,16
@@
# proc-lib.pl
# Functions for managing processes
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+use POSIX;
+use Config;
+
&init_config();
-do '../ui-lib.pl';
if ($module_info{'usermin'} && !$ENV{'FOREIGN_MODULE_NAME'}) {
&switch_to_remote_user();
}
do "$config{ps_style}-lib.pl";
-use POSIX;
-use Config;
if ($module_info{'usermin'}) {
%access = ( 'edit' => 1,
'run' => 1,