Support the ongoing development of Laravel.io →
posted 9 years ago
Configuration
Last updated 2 years ago.
0

Same problem - works on one instance but not the other - did you find a solution besides calling config helper later (outside config file)?

0

You shouldn't be trying to use config() in a config file.

You can add and modify configuration values at runtime if needed. Perhaps a service provider.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

RKAN rkan Joined 20 Aug 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.