Project

General

Profile

« Previous | Next » 

Revision 2046

Added by darkviper almost 11 years ago

  1. little Typofixes in packet AccessFile

View differences:

AccessFileHelper.php
71 71
 */
72 72
	static public function isAccessFile($sFileName)
73 73
	{
74
		if (!is_readable($sFileName)) { throw new AccessFileInvalidFilePathException('invalid filename ['.$sFileName.']');
74
		if (!is_readable($sFileName)) { throw new AccessFileInvalidFilePathException('invalid filename ['.$sFileName.']'); }
75 75
		$bRetval = false;
76 76
		if (($sFile = file_get_contents($sFileName)) !== false) {
77 77
			$sPattern = '/^\s*?<\?php.*?\$i?page_?id\s*=\s*[0-9]+;.*?(?:require|include)'
......
80 80
			unset($sFile);
81 81
		}
82 82
		return $bRetval;
83
    	}
84 83
    }
85 84
/**
86 85
 * Delete all contents of basedir, but not the basedir itself

Also available in: Unified diff