focuslabllc / ee-master-config

Focus Lab's Master Config setup for quick ExpressionEngine multi-environment support
http://focuslabllc.com/ee
294 stars 62 forks source link

Setting global variables in config files not working #41

Closed tyssen closed 9 years ago

tyssen commented 9 years ago

I have $env_globals['global:basepath'] = 'http://xxxxxx.com/'; in config.local.php but in my templates, I get {global:basepath} output instead of the value.

This is under a MAMP set-up on my Mac. Everything else works fine. Is there something else I'm missing?

ajgaunt commented 9 years ago

Try $env_global['global:basepath'] instead of the plural.

tyssen commented 9 years ago

Ah, that did it. Thanks. :)