Index: trunk/phase3/maintenance/checkSyntax.php |
— | — | @@ -162,6 +162,7 @@ |
163 | 163 | * Returns true if $file is of a type we can check |
164 | 164 | */ |
165 | 165 | private function isSuitableFile( $file ) { |
| 166 | + $file = str_replace( '\\', '/', $file ); |
166 | 167 | $ext = pathinfo( $file, PATHINFO_EXTENSION ); |
167 | 168 | if ( $ext != 'php' && $ext != 'inc' && $ext != 'php5' ) |
168 | 169 | return false; |