1 parent 3b95176 commit 2f4cc77Copy full SHA for 2f4cc77
1 file changed
scripts/text-entities.php
@@ -251,12 +251,12 @@ static function checkReplaces( bool $debug )
251
252
function loadDirEntities( string $dir )
253
{
254
- $dir = realpath( $dir );
255
- if ( $dir === false || ! is_dir( $dir ) )
+ if ( realpath( $dir ) === false || ! is_dir( $dir ) )
256
257
if ( PARTIAL_IMPL )
258
259
- print "(skip) ";
+ global $lang;
+ print "(skiped $lang/entities) ";
260
return;
261
}
262
else
@@ -266,6 +266,7 @@ function loadDirEntities( string $dir )
266
267
268
269
+ $dir = realpath( $dir );
270
$files = scandir( $dir );
271
foreach( $files as $file )
272
0 commit comments