Tutorials


Cus­tom Mul­ti-Envi­ron­ment Con­fig and Exam­ples of How to Cus­tomize Each Environment

By default, when you setup a [multi-environment config](http://buildwithcraft.com/docs/multi-environment-configs), Craft compares the key in your multi-environment config array to the PHP `$_SERVER['SERVER_NAME']` variable to test which environment matches. If the key in your array is contained within the `$_SERVER['SERVER_NAME']` variable, Craft considers the option a match. Read More »

Ben Parizek

Martini Icon

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.