Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19816
Modified Files:
Tag: branch-smarty
index.php
Log Message:
- Remove commented function
- Add number of included files to debug
- Result is in seconds
Index: index.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/index.php,v
retrieving revision 1.49.2.10
retrieving revision 1.49.2.11
diff -u -d -r1.49.2.10 -r1.49.2.11
--- index.php 6 Nov 2004 11:22:45 -0000 1.49.2.10
+++ index.php 6 Nov 2004 21:33:04 -0000 1.49.2.11
@@ -235,7 +235,8 @@
}
$serendipity['smarty']->display(serendipity_getTemplateFile($serendipity['smarty_file'], 'serendipityPath'));
-echo '<div id="s9y_debug" style="text-align: center; color: red; font-size: large">Process complete in '. (microtime_float()-$time_start) .' ms</div>';
-# serendipity_plugin_api::register_default_plugins();
+/* TODO: Remove (hide) this debug */
+echo '<div id="s9y_debug" style="text-align: center; color: red; font-size: 10pt; font-weight: bold; padding: 10px">Page generated in '. round(microtime_float()-$time_start,6) .' seconds, '. sizeof(get_included_files()) .' files included</div>';
+
/* vim: set sts=4 ts=4 expandtab : */
?>
|