Yep, if you want to see how the environment interceptor works, just take
a look inside environmentControl.cfc in the interceptors folder. (at
least in 2.6.3)
Lines 129-137 are:
/* Check if overriding a set setting */
if( settingExists(trim(SettingsArray[i].xmlAttributes.name)) ){
setSetting( trim(SettingsArray[i].xmlAttributes.name) , thisValue );
}
else{
/* Do a full set */
"configSettings.#trim(SettingsArray[i].xmlAttributes.name)#" =
thisValue;
}
~Brad