Index: trunk/kernel/startup.php =================================================================== diff -u -r271 -r396 --- trunk/kernel/startup.php (.../startup.php) (revision 271) +++ trunk/kernel/startup.php (.../startup.php) (revision 396) @@ -114,6 +114,8 @@ LogEntry("Startup complete\n"); include_once("include/modules.php"); +if( defined('DEBUG_MODE') && constant('DEBUG_MODE') == 1 && function_exists('DebugByFile') ) DebugByFile(); + /* startup is complete, so now check the mail queue to see if there's anything that needs to be sent*/ $objEmailQueue->SendMailQeue();