feat views: Start work on improved wrapper importing that doesn't use bash.

This commit is contained in:
purple 2024-03-25 17:49:44 +01:00
parent 751ad1fe36
commit a57fa7c3e3
4 changed files with 10 additions and 0 deletions

View file

@ -71,4 +71,9 @@
-->
<!-- wrapper:insert -->
@foreach (File::allFiles(__DIR__ . '/wrappers') as $partial)
@if ($partial->getExtension() == 'php')
@include(str_replace(base_path() . '/', '', $partial->getPathname()))
@endif
@endforeach
@endsection

View file

@ -5,4 +5,9 @@
-->
<!-- wrapper:insert -->
@foreach (File::allFiles(__DIR__ . '/wrappers') as $partial)
@if ($partial->getExtension() == 'php')
@include(str_replace(base_path() . '/', '', $partial->getPathname()))
@endif
@endforeach
@endsection