Dragonfly CMS logo Server sponsored and hosted by
DedicatedNOW
CVS logo  
.:: Home :: Dev. Resources :: Forums ::.
Dragonfly CMS CVS Repository
 Location: / cvs / html / footer.php
This is a web interface to the Dragonfly CMS CVS tree. You can browse the file hierarchy by picking directories. If you pick a file, you will see the revision history for that file.
Selecting a revision number will show that revision of the file. There are links at each revision to display diffs, annotate and download.
Note: Info about CVS and our commits can be found at our CVS Info Forum
File name: html/footer.php
Revision : 10.7 => 10.8 (2 years 1 months 1 weeks 5 days 20 hours 2 minutes 48 seconds ago) by nanocaiordo
Changed : +5 -5 lines
Comment: Fix display debug.

--- html/footer.php:10.7 Fri Dec 2 12:56:48 2011
+++ html/footer.php Mon Mar 12 03:46:47 2012
@@ -9,9 +9,9 @@
of the GNU GPL version 2 or any later version
$Source: /cvs/html/footer.php,v $
- $Revision: 10.7 $
+ $Revision: 10.8 $
$Author: nanocaiordo $
- $Date: 2011/12/02 12:56:48 $
+ $Date: 2012/03/12 03:46:47 $
**********************************************/
if (!defined('CPG_NUKE')) { exit; }
global $db, $SESS, $cpgtpl, $Blocks, $DF;
@@ -28,9 +28,9 @@
$foot[] = 'Memory Usage: '.(($total_mem >= 1048576) ? round((round($total_mem / 1048576 * 100) / 100), 2).' MB' : (($total_mem >= 1024) ? round((round($total_mem / 1024 * 100) / 100), 2).' KB' : $total_mem.' Bytes'));
}
$foot[] = '';
- $S_DEBUG_SQL = $MAIN_CFG['debug']['database'] ? $GLOBALS['cpgdebugger']->get_report('sql') : false;
- $S_DEBUG_PHP = $MAIN_CFG['debug']['error_level'] ? $GLOBALS['cpgdebugger']->get_report('php') : false;
- $S_DEBUG_PER = PerformanceLog::stop();
+ $S_DEBUG_SQL = CPG_DEBUG || $MAIN_CFG['debug']['database'] ? $GLOBALS['cpgdebugger']->get_report('sql') : false;
+ $S_DEBUG_PHP = CPG_DEBUG || $MAIN_CFG['debug']['error_level'] ? $GLOBALS['cpgdebugger']->get_report('php') : false;
+ $S_DEBUG_PER = CPG_DEBUG || DF_MODE_DEVELOPER ? PerformanceLog::stop() : false;
}
$GLOBALS['cpgtpl']->assign_var('S_DEBUG_SQL', isset($S_DEBUG_SQL) ? $S_DEBUG_SQL : false);
$GLOBALS['cpgtpl']->assign_var('S_DEBUG_PHP', isset($S_DEBUG_PHP) ? $S_DEBUG_PHP : false);


Code Credits - Privacy Policy