Fixed mbsetup to move new fileareas

This commit is contained in:
Michiel Broek 2002-04-22 13:49:22 +00:00
parent 61788737a5
commit 352224c3f4
2 changed files with 4 additions and 2 deletions

View File

@ -4719,7 +4719,9 @@ v0.33.20 10-Feb-2002
like a new kind of M$ standard. mbnews crashed on this one.
Fixed a small problem in magic filename testing.
In rfc2ftn the Approved: header now becomes a kludge instead
of plain passed.
of being plain passed.
Auto file area create implemented, it can use plain tagfiles
or filegate.zxx formatted files.
mbfile:
The mbfile index command now creates the html pages using the

View File

@ -333,7 +333,7 @@ int EditFileRec(int Area)
case 1: E_STR( 6,16,44, area.Name, "The ^name^ for this area")
case 2: strcpy(tpath, area.Path);
strcpy(area.Path, edit_pth(7,16,64, area.Path, (char *)"The ^path^ for the files in this area"));
if (strlen(tpath) && strlen(area.Path) && strcmp(tpath, area.Path)) {
if (strlen(tpath) && strlen(area.Path) && strcmp(tpath, area.Path) && strcmp(tpath, CFG.ftp_base)) {
if ((dp = opendir(tpath)) == NULL) {
WriteError("Can't open directory %s", tpath);
} else {