X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=scripts%2Fcheck_package-xml.php;fp=scripts%2Fcheck_package-xml.php;h=4ff8e4a081ad916105c9fa78721c8a9a58135e80;hb=59befaf59f39806cea88b9e6ac1f8918672fe176;hp=e422c6a993b679961601565940b6fdaa6c489d16;hpb=b93d05d28b5c2411605178d4f2bb997668d03753;p=m6w6%2Fext-http diff --git a/scripts/check_package-xml.php b/scripts/check_package-xml.php index e422c6a..4ff8e4a 100755 --- a/scripts/check_package-xml.php +++ b/scripts/check_package-xml.php @@ -33,7 +33,7 @@ if (($xml = simplexml_load_file($file))) { } } else { $base = basename($file); - if ($base{0} !== ".") { + if ($base[0] !== ".") { array_push($dirs, $file); } }