protected function loadFilePath($path) {
		$realPath = realpath($path);
		if (DIRECTORY_SEPARATOR == '\\') { // windows
			$realPath = str_replace('\\', '\\\\', $realPath);
		}
		return $this->db->real_escape_string($realPath);
	}
protected function loadFilePath($path) {
		$realPath = realpath($path);
		if (DIRECTORY_SEPARATOR == '\\') { // windows
			$realPath = str_replace('\\', '\\\\', $realPath);
		}
		return $this->db->real_escape_string($realPath);
	}
protected function loadFilePath ( $ path ) { $ realPath = realpath ( $ path ) ; if ( DIRECTORY_SEPARATOR == '\\' ) { // windows $ realPath = str_replace ( '\\' , '\\\\' , $ realPath ) ; } return $ this -> db -> real_escape_string ( $ realPath ) ; }
Return correct file path for LOAD_FILE method

@param  string $path  file path (id)
@return string
@author Troex Nevelin
Return correct file path for LOAD_FILE method