仕様といえば仕様なんだけど、lngファイルにも$idが設定されていることだし、表示された方がミスも減るでしょうから。
@@ -34,7 +34,7 @@ } while($file = $dir->read()) { - if (!preg_match('/\.php$/i',$file)) + if (!preg_match("/\.(php|lng)$/i",$file)) { continue; }