mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
File is not a folder
This commit is contained in:
@@ -9,7 +9,7 @@ if(!$in{'name'}) {
|
||||
&redirect("index.cgi?path=$path");
|
||||
}
|
||||
|
||||
if (-e "$cwd/$in{'name'}") {
|
||||
if (-f "$cwd/$in{'name'}") {
|
||||
print_errors("$in{'name'} $text{'error_exists'}");
|
||||
} else {
|
||||
if (open my $fh, "> $cwd/$in{'name'}") {
|
||||
|
||||
Reference in New Issue
Block a user