config icon indicating copy to clipboard operation
config copied to clipboard

null return on config($key)

Open samfrm opened this issue 7 years ago • 2 comments

It always returns null on every key defined in config

samfrm avatar Jan 23 '18 19:01 samfrm

@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 :sob:

zanemmm avatar Feb 01 '18 05:02 zanemmm

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

samfrm avatar Feb 01 '18 14:02 samfrm