larapack / hooks

Hooks is a extension system for your Laravel application.
https://larapack.io
MIT License
218 stars 15 forks source link

[BUG] Writes hooks.js to wrong filesystem #43

Open bredmor opened 5 years ago

bredmor commented 5 years ago

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.