Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registered View Path is invalid #6

Open
jgrehling opened this issue Jun 6, 2019 · 1 comment
Open

Registered View Path is invalid #6

jgrehling opened this issue Jun 6, 2019 · 1 comment

Comments

@jgrehling
Copy link

jgrehling commented Jun 6, 2019

Hi,

the view-path that you register in the \DesignMyNight\Laravel\Logging\MailableLogServiceProvider::register method is unfortunately not correct if you include the package inside a laravel 5.8 app.

As base_path returns the application root, there is the vendor directory missing in the path.

I suggest using __DIR__.'/../../resources/views' like in the setupViews() method to avoid that error.

Otherwise please include vendor in the path.

@MattApril
Copy link

Can confim, this bug managed to completely break my application when installing this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants