projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81afc40
)
open() nur mit sicheren Argumenten aufrufen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 May 2007 12:12:30 +0000
(12:12 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 May 2007 12:12:30 +0000
(12:12 +0000)
bin/mozilla/admin.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/admin.pl
b/bin/mozilla/admin.pl
index
879ccd7
..
4e33ef2
100644
(file)
--- a/
bin/mozilla/admin.pl
+++ b/
bin/mozilla/admin.pl
@@
-694,11
+694,6
@@
sub form_header {
@a = <FH>;
close(FH);
- if (open(FH, "custom_$menufile")) {
- push @a, <FH>;
- }
- close(FH);
-
foreach $item (@a) {
next unless $item =~ /\[/;
next if $item =~ /\#/;
@@
-971,6
+966,9
@@
sub save {
}
}
+ $form->{templates} =~ s|.*/||;
+ $form->{mastertemplates} =~ s|.*/||;
+
# create user template directory and copy master files
if (!-d "$form->{templates}") {
umask(002);