Project

General

Profile

« Previous | Next » 

Revision 428

Added by Matthias almost 18 years ago

Fixed ticket #380 (Thanks to pcwacht)

View differences:

functions.php
667 667
	$directory = WB_PATH.PAGES_DIRECTORY.$link;
668 668
	$filename = $directory.'.php';
669 669
	$directory .= '/';
670
	if(file_exists($filename)) {
670
	if(file_exists($filename) && substr($file_name,0,1<>'.')) {
671 671
		if(!is_writable(WB_PATH.PAGES_DIRECTORY.'/')) {
672 672
			$admin->print_error($MESSAGE['PAGES']['CANNOT_DELETE_ACCESS_FILE']);
673 673
		} else {

Also available in: Unified diff