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