Project

General

Profile

2886.patch

krileon, 20 October 2011 03:14 PM

View differences:

administrator/components/com_comprofiler/comprofiler.class.php
1802 1802
	$handle						=	opendir( $path );
1803 1803

  
1804 1804
	while ( true == ( $file = readdir( $handle ) ) ) {
1805
		if ( ! in_array( $file, array( '.', '..', '.svn', '.git', '.gitignore', '.gitattributes' ) ) ) {
1805
		if ( ! in_array( $file, array( '.', '..', '.svn', '.git', '.gitignore', '.gitattributes', '__MACOSX' ) ) ) {
1806 1806
			$dir				=	_cbPathName( $path . '/' . $file, false );
1807 1807
			if ( preg_match( "/$filter/", $file ) ) {
1808 1808
				if ( $fullpath ) {