projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
086c4ff
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:30:24 +0000
(21:30 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:30:24 +0000
(21:30 +0000)
file/file-lib.pl
patch
|
blob
|
history
diff --git
a/file/file-lib.pl
b/file/file-lib.pl
index
abad711
..
50def2a
100644
(file)
--- a/
file/file-lib.pl
+++ b/
file/file-lib.pl
@@
-1,7
+1,8
@@
# file-lib.pl
# Common functions for file manager CGIs
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
&ReadParse(\%prein, 'GET');
if ($prein{'trust'}) {
&open_trust_db();
@@
-12,7
+13,6
@@
if ($prein{'trust'}) {
dbmclose(%trustdb);
}
&init_config();
-do '../ui-lib.pl';
@file_buttons = ( "save", "preview", "edit", "info", "acl", "attr", "ext",
"search", "delete", "new", "upload", "mkdir", "makelink",