support indexpages when renaming pages
Note that the page filename code used here and in editpage are identical..master
parent
41d7ccfa79
commit
a7fd6debc5
|
@ -279,7 +279,12 @@ sub sessioncgi ($$) { #{{{
|
|||
$type=$ext;
|
||||
}
|
||||
|
||||
$destfile.=".".$type;
|
||||
if (! $config{indexpages}) {
|
||||
$destfile.=".".$type;
|
||||
}
|
||||
else {
|
||||
$destfile.="/index.".$type;
|
||||
}
|
||||
}
|
||||
push @torename, {
|
||||
src => $src,
|
||||
|
|
Loading…
Reference in New Issue