Project

General

Profile

Feature proposal #2886 ยป 2886.patch

krileon, 20 October 2011 15:14

View differences:

administrator/components/com_comprofiler/comprofiler.class.php
$handle = opendir( $path );
while ( true == ( $file = readdir( $handle ) ) ) {
if ( ! in_array( $file, array( '.', '..', '.svn', '.git', '.gitignore', '.gitattributes' ) ) ) {
if ( ! in_array( $file, array( '.', '..', '.svn', '.git', '.gitignore', '.gitattributes', '__MACOSX' ) ) ) {
$dir = _cbPathName( $path . '/' . $file, false );
if ( preg_match( "/$filter/", $file ) ) {
if ( $fullpath ) {
    (1-1/1)