* Template.php:
(BSTemplate::flush): No longer display SVN information and we can use $_SERVER[REQUEST_TIME] so we don't need to define ISSO_MT_START
* App.php: Remove documentation about constants
/**
* ISSO Application Root (App.php)
*
-* Constants:
-* ISSO_MT_START - Define the microtime() value at the top of your
-* script and this will calculate the total execution
-* time
-* SVN - Place SVN $Id keyword to get SVN revision information on output
-*
* @package ISSO
*/
$debugBlock = '';
if (BSApp::GetDebug())
- {
- if (defined('SVN') AND preg_match('#^\$Id:?#', constant('SVN')))
- {
- $debugBlock .= preg_replace('#\$' . 'Id: (.+?) ([0-9].+?) [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.+?) (.+?) \$#', "\n<br />\n" . '<div align="center"><strong>\1</strong> — r\2</div>', constant('SVN'));
- }
-
- if (defined('ISSO_MT_START'))
- {
- $debugBlock .= "\n<div align=\"center\">Executed in " . round(BSFunctions::FetchMicrotimeDiff(ISSO_MT_START), 10) . ' seconds</div>';
- }
-
+ {
+ $debugBlock .= "\n<div align=\"center\">Executed in " . round(BSFunctions::FetchMicrotimeDiff($_SERVER['REQUEST_TIME']), 10) . ' seconds</div>';
$debugBlock .= "\n<br /><div align=\"center\">" . BSApp::GetDebugList() . "</div>";
$optlist = array();