I'm making a codeigniter website and i need to switch configs between production and development. By default Codeigniter searches for the var
in PHP's
superglobal. However when i'm trying to set my own with
Code:
$ CI_ENV=production
$ export CI_ENV
in my production server.
When i'm trying to access it from
,
or
it's not there.
Any ideas why?