Project

General

Profile

« Previous | Next » 

Revision 595

Added by doc almost 17 years ago

Removed changes introduced with Changeset 593 (need to agree if we want add this to the core with WB2.7)

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 && substr($link, 0, 1) != '.') {
712
			if(file_exists($directory) && rtrim($directory,'/')!=WB_PATH.PAGES_DIRECTORY) {
713 713
				rm_full_dir($directory);
714 714
			}
715 715
		}

Also available in: Unified diff