Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
+381
-322
File diff suppressed because it is too large.
Load diff
@@ -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() ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user