Revision 627
Added by doc almost 17 years ago
functions.php | ||
---|---|---|
709 | 709 |
$admin->print_error($MESSAGE['PAGES']['CANNOT_DELETE_ACCESS_FILE']); |
710 | 710 |
} else { |
711 | 711 |
unlink($filename); |
712 |
if(file_exists($directory) && rtrim($directory,'/')!=WB_PATH.PAGES_DIRECTORY) { |
|
712 |
if(file_exists($directory) && rtrim($directory,'/')!=WB_PATH.PAGES_DIRECTORY && substr($link, 0, 1) != '.') {
|
|
713 | 713 |
rm_full_dir($directory); |
714 | 714 |
} |
715 | 715 |
} |
Also available in: Unified diff
Re-introduced Changeset 593 (filename in pages/ from page_title instead of menu_title)