[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.372,1.373
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Wed Sep 8 05:41:18 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv7509
Modified Files:
lib-common.php
Log Message:
The page time was stopped a bit too early ...
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.372
retrieving revision 1.373
diff -C2 -d -r1.372 -r1.373
*** lib-common.php 5 Sep 2004 08:49:17 -0000 1.372
--- lib-common.php 8 Sep 2004 09:41:15 -0000 1.373
***************
*** 1016,1025 ****
$footer->set_var( 'geeklog_version', VERSION );
- $exectime = $_PAGE_TIMER->stopTimer();
- $exectext = $LANG01[91] . ' ' . $exectime . ' ' . $LANG01[92];
-
- $footer->set_var( 'execution_time', $exectime );
- $footer->set_var( 'execution_textandtime', $exectext );
-
/* Check if an array has been passed that includes the name of a plugin
* function or custom function
--- 1016,1019 ----
***************
*** 1055,1058 ****
--- 1049,1058 ----
}
+ $exectime = $_PAGE_TIMER->stopTimer();
+ $exectext = $LANG01[91] . ' ' . $exectime . ' ' . $LANG01[92];
+
+ $footer->set_var( 'execution_time', $exectime );
+ $footer->set_var( 'execution_textandtime', $exectext );
+
// Actually parse the template and make variable substitutions
$footer->parse( 'index_footer', 'footer' );
More information about the geeklog-cvs
mailing list