Commit b89d0228 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

More fix.

parent 4bca7ac9
......@@ -8480,16 +8480,22 @@ sub do_savefile {
if ($in{'file'} eq 'list_aliases.tt2') {
$param->{'filepath'} =
"$Conf::Conf{'etc'}/$robot/$in{'file'}";
} else {
} elsif ($in{'file'} =~ /\.tt2$/) {
$param->{'filepath'} =
"$Conf::Conf{'etc'}/$robot/mail_tt2/$in{'file'}";
} else {
$param->{'filepath'} =
"$Conf::Conf{'etc'}/$robot/$in{'file'}";
}
} else {
if ($in{'file'} eq 'list_aliases.tt2') {
$param->{'filepath'} = "$Conf::Conf{'etc'}/$in{'file'}";
} else {
} elsif ($in{'file'} =~ /\.tt2$/) {
$param->{'filepath'} =
"$Conf::Conf{'etc'}/mail_tt2/$in{'file'}";
} else {
$param->{'filepath'} =
"$Conf::Conf{'etc'}/$in{'file'}";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment