Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

[1.0] Can not edit keys with env() method as value #12

Open
Demacri opened this issue Sep 9, 2016 · 0 comments
Open

[1.0] Can not edit keys with env() method as value #12

Demacri opened this issue Sep 9, 2016 · 0 comments

Comments

@Demacri
Copy link

Demacri commented Sep 9, 2016

Using Config::write on keys that have env('SOME_KEY','something') as value, it doesn't work.
Example:
'url' => env('APP_URL','http://localhost:83')
using
Config::write('app', ['url' => 'http://localhost:83']);
the result is

Unable to rewrite key "url" in config, rewrite failed

@Demacri Demacri changed the title can't edit keys with env() method can't edit keys with env() method as value Sep 11, 2016
@marktopper marktopper changed the title can't edit keys with env() method as value [1.0] Can not edit keys with env() method as value Sep 19, 2016
@marktopper marktopper self-assigned this Sep 19, 2016
@marktopper marktopper removed their assignment Oct 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants