hooks
hooks copied to clipboard
[BUG] Writes hooks.js to wrong filesystem
- Hooks Version: 1.0.8
- Laravel Version: 5.8.24
- PHP Version: 7.3
- Integration: voyager-hooks
Description:
The package attempts to write and load from base_path('hooks/hooks.json'), regardless of available disks in config/filesystems.php. This breaks on frozen filesystems such as AWS Lambda and Google App Engine.
Steps To Reproduce:
Attempt to use the package without write permissions to the local FS. Changing disk configurations in laravel settings is not respected and has no effect.