<?php
// Dynamically change environment
Config::inst()->update('Director', 'environment_type', 'dev');