doOnTheEnd.php 869 Bytes
<?php
/**
 * dinge die am Ende noch ausgeführt werden sollen
 *
 * (nur für Dinge die unter mcClasses sind)
 *
 * @author f@mensch.coop @since 2010-12-01
 */

mcReport::distribute($__mc_Report);

/**
 * developer things
 */
if($_LOSP_DEV) {
	
	if($__mc_PDO_LOGFILE) {
		$PDOLog = mcPDOLogger::getMessagesAsText();
		mcFile::write($__mc_PDO_LOGFILE, $PDOLog, 'a');
	}	
	
	mcPerformance::showStats($__mc_D_LOGFILE_ONLY_USER);
	D::showStats($__mc_Report, $__BASEPATH_EX, $__mc_D_LOGFILE);
	if($__mc_D_SCREENOUTPUT) {
		D::printToScreen();
	}
	
	if($__mc_D_LOGFILE_HTML) {
            
            if($__mc_D_LOGFILE_HTML_RESET) {
                $kindof = 'w';
            } else {
                $kindof = 'a';
            }
            
		D::printToHtmlFile($__mc_D_LOGFILE_HTML, $kindof);
	}
	
	if($__mc_D_LOGFILE) {
		D::printToFile($__mc_D_LOGFILE,'a');
	}
	

}
?>