We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3b669 commit 146369cCopy full SHA for 146369c
gen-phpweb-sqlite-db.php
@@ -179,14 +179,11 @@ function scan_langs($root)
179
if (!$d) {
180
return;
181
}
182
- readdir($d); readdir($d);
183
while (($f = readdir($d)) !== false) {
184
- if ($f === '.svn') {
185
- continue;
186
- }
187
- if ($f === '.git') {
188
189
+ if (strpos($f, '.') !== false) {
+ continue;
+ }
+
190
$file = $root . DIRECTORY_SEPARATOR . $f;
191
192
if (is_dir($file)) {
0 commit comments