Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Config::get('environment');
  • Config::get('environment'); This used to work in 1.01. Any way to get that value now? $_SERVER only works if I have it set, but I know Fuel defaults to DEVELOPMENT.
  • The environment is available in \Fuel::$env. I've never known it to be available in the global config?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion