Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+8
View File
@@ -12,6 +12,7 @@ namespace IPS\Application;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Application;
use RecursiveFilterIterator;
use function defined;
use function in_array;
@@ -34,6 +35,13 @@ class BuilderFilter extends RecursiveFilterIterator
*/
public function accept(): bool
{
foreach( Application::allExtensions( 'core', 'Build' ) as $builder )
{
if( !$builder->accept( $this ) )
{
return false;
}
}
return !( $this->isDir() && in_array( $this->getFilename(), $this->getDirectoriesToIgnore() ) );
}