trying to include a functions.php file from my resource folder within a service provider
when i add a php source with require/include once (a functions.php file) in service provider,I have strange error.....my name and path is completely true but i can not include a php file from resource folder. I need it for a special case. Thanks in advance
@stackprogramer I think you’re thinking about this in entirely the wrong way.
Why is a service provider trying to import a functions file from a “theme”? Your theme should have a service provider class that registers anything that theme needs to function.