From: <unl...@us...> - 2002-08-17 02:29:47
|
Update of /cvsroot/meshdb/www/deal/includes In directory usw-pr-cvs1:/tmp/cvs-serv22433/deal/includes Modified Files: page_tail.php Log Message: Working on the templating design, going to start on the actual SQL of the system, with the templating system, then people will be able to have a look at how the functionality works and hack on it also. Notes to Dave: I don't believe there is any overkill at all. If my overkill you mean flexible, functional, stable, reusable, readable code/design. Then yes it probably is overkill. That's how I do stuff though. Index: page_tail.php =================================================================== RCS file: /cvsroot/meshdb/www/deal/includes/page_tail.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- page_tail.php 14 Aug 2002 03:49:18 -0000 1.1 +++ page_tail.php 17 Aug 2002 02:29:44 -0000 1.2 @@ -49,9 +49,13 @@ $endtime = $mtime; $totaltime = ($endtime - $starttime); - -echo '<br /><center><font size="-2">Created this page in '. $totaltime .' seconds : ' . $db->num_queries . ' queries executed.</font></center>'; - +// +// Show Debugging +// +if (DEBUG == TRUE) +{ + echo '<br /><center><font size="-2">Created this page in '. $totaltime .' seconds : ' . $db->num_queries . ' queries executed.</font></center>'; +} // // Close our DB connection. |