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

null return on config($key) #8

Open
samfrm opened this issue Jan 23, 2018 · 2 comments
Open

null return on config($key) #8

samfrm opened this issue Jan 23, 2018 · 2 comments

Comments

@samfrm
Copy link

samfrm commented Jan 23, 2018

It always returns null on every key defined in config

@zanemmm
Copy link
Contributor

zanemmm commented Feb 1, 2018

@samfrm

if your laravel version < 5.5

in config/app.php

    'providers' => [
        //......
        Encore\Admin\Config\ConfigServiceProvider::class //add this line
    ],

if using laravel 5.5, because of the new feature Laravel Package Auto-Discovery. I don't know why 😭

@samfrm
Copy link
Author

samfrm commented Feb 1, 2018

@zanemmm I'm using Laravel 5.5. I've searched for it but couldn't find what is the reason. So sad :(

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