Project

General

Profile

« Previous | Next » 

Revision 593

Added by thorn almost 17 years ago

Generate filename in pages/ from page_title instead of menu_title.

View differences:

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