Skip to content

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

@bredmor

Description

@bredmor
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions