edited March 2011 in Modules
Just wonder is there any switch in fuelcms that allow developer to turn on for debugging mode ?
I saw there is these config in MY_config.php , is these setting can be use to output error ? need to turn it off for production ?
$config['dev_mode'] = TRUE;
$config['dev_email'] = '';


  • edited 12:11PM
    There is no debugging mode per se. You may need to turn off error reporting in the index.php bootstrap file on your live site though. Also, you can set the "enable_profiler" to TRUE in that same file to show the profiler information for you site. The $config['dev_mode'] was put there in case you need to write code that acts differently between production and development. We use it a lot for setting up contact forms so that emails come directly to us and then when it goes live we change that dev_mode to FALSE.
Sign In or Register to comment.