Setting custom variables per environment

Hi,

I’d like to be able to set a variable for each environment I have.
It’s a path to a folder that’s different on each system: development
and production. I then, need to be able to read it from my controller.

How can I do this?