Issue Devmode is still enable in multi-environment config file I have an issue with a site I have just put live. devMode is still enabled even though the config site sets it as false for .com.

Code snippet:

'*' =&gt; array(
        'devMode' =&gt; 'false',
        'siteName' =&gt; 'sitename',
        'omitScriptNameInUrls' =&gt; true,
        'maxUploadFileSize' =&gt; 33554432,
        'defaultSearchTermOptions' =&gt; array(
            'subLeft' =&gt; true,
            'subRight' =&gt; true,
        ),
        ),
    '.com' =&gt; array(
        'devMode' =&gt; 'false',
        'env' =&gt; 'live',


I did have a .dev option as well but removed this to see if it would make any difference but it hasn't.

Next I cleared all caches and still no joy devMode is still active. How can I clear this for the the live site has it logged it in the DB somewhere and it's not removing it?
You’re setting the devMode setting to the string 'false', which seems to be evaluated to true. You need to set it to a boolean.

'*' =&gt; array(
    'devMode' =&gt; false,
),
'.dev' =&gt; array(
    'devMode' =&gt; true,
),