|
From: Markus P. <mar...@us...> - 2005-04-16 01:55:50
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27656 Modified Files: extension.inc Log Message: Renamed $starttime as $mx_starttime to avoid problems with other scripts overriding its value. Remember this variable is initialized in extension.inc and should live until page_tail.php is reached. Index: extension.inc =================================================================== RCS file: /cvsroot/mxbb/core/extension.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** extension.inc 9 Jan 2005 21:55:44 -0000 1.3 --- extension.inc 16 Apr 2005 01:54:56 -0000 1.4 *************** *** 32,42 **** // Change this if your extension is not .php! // ! $phpEx = "php"; ! ! $starttime = 0; ! $starttime = microtime(); ! $starttime = explode(" ",$starttime); ! $starttime = $starttime[1] + $starttime[0]; ?> \ No newline at end of file --- 32,39 ---- // Change this if your extension is not .php! // ! $phpEx = 'php'; ! $mx_starttime = explode(' ', microtime()); ! $mx_starttime = $mx_starttime[1] + $mx_starttime[0]; ?> \ No newline at end of file |