Autoblocker privacy protection
[lhc/web/wiklou.git] / install.php
index 71d27ec..724ec24 100644 (file)
@@ -170,7 +170,8 @@ function copydirectory( $source, $dest ) {
        $handle = opendir( $source );
        while ( false !== ( $f = readdir( $handle ) ) ) {
                if ( "." == $f{0} ) continue;
-               if ( "CVS" == $f ) continue;
+               # Something made all my "CVSs" go lowercase :(
+               if ( !strcasecmp( "CVS", $f ) ) continue;
                copyfile( $source, $f, $dest );
        }
 }