Thread: [Openfirst-cvscommit] SF.net SVN: openfirst: [172] trunk/src/includes/functions/debug.php
Brought to you by:
xtimg
From: <ast...@us...> - 2006-06-21 21:38:51
|
Revision: 172 Author: astronouth7303 Date: 2006-06-21 14:38:47 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=172&view=rev Log Message: ----------- Adding an "SVN" header so that we can properly track which file we're talking about. Modified Paths: -------------- trunk/src/includes/functions/debug.php Property Changed: ---------------- trunk/src/includes/functions/debug.php Modified: trunk/src/includes/functions/debug.php =================================================================== --- trunk/src/includes/functions/debug.php 2006-06-21 19:16:53 UTC (rev 171) +++ trunk/src/includes/functions/debug.php 2006-06-21 21:38:47 UTC (rev 172) @@ -55,8 +55,12 @@ if ($usingPHP5 && $errno == 2048) return; // Don't handle E_STRICT - + $svn = trim(<<<ENDOFVERSION +$Id$ +ENDOFVERSION +); $details = "MD5: $checksum + SVN: $svn Database Type: $ogDataBaseType Operating System: $osType SQL Server: $ogSQLServer @@ -133,4 +137,4 @@ } } } -?> \ No newline at end of file +?> Property changes on: trunk/src/includes/functions/debug.php ___________________________________________________________________ Name: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ast...@us...> - 2006-06-21 21:45:51
|
Revision: 173 Author: astronouth7303 Date: 2006-06-21 14:45:45 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=173&view=rev Log Message: ----------- Adding more needed info and some hacks around SVN. Modified Paths: -------------- trunk/src/includes/functions/debug.php Property Changed: ---------------- trunk/src/includes/functions/debug.php Modified: trunk/src/includes/functions/debug.php =================================================================== --- trunk/src/includes/functions/debug.php 2006-06-21 21:38:47 UTC (rev 172) +++ trunk/src/includes/functions/debug.php 2006-06-21 21:45:45 UTC (rev 173) @@ -55,12 +55,15 @@ if ($usingPHP5 && $errno == 2048) return; // Don't handle E_STRICT - $svn = trim(<<<ENDOFVERSION -$Id$ + $svn = explode(' +', trim(<<<ENDOFVERSION +\$Id$ +\$URL$ ENDOFVERSION -); +)); $details = "MD5: $checksum - SVN: $svn + SVN-Id: {$svn[0]} + SVN-URL: {$svn[1]} Database Type: $ogDataBaseType Operating System: $osType SQL Server: $ogSQLServer Property changes on: trunk/src/includes/functions/debug.php ___________________________________________________________________ Name: svn:keywords - Id + Id URL This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ast...@us...> - 2006-06-23 05:06:08
|
Revision: 198 Author: astronouth7303 Date: 2006-06-22 22:06:03 -0700 (Thu, 22 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=198&view=rev Log Message: ----------- moved E_STRICT handling to earlier in the function. Modified Paths: -------------- trunk/src/includes/functions/debug.php Modified: trunk/src/includes/functions/debug.php =================================================================== --- trunk/src/includes/functions/debug.php 2006-06-23 05:04:28 UTC (rev 197) +++ trunk/src/includes/functions/debug.php 2006-06-23 05:06:03 UTC (rev 198) @@ -42,6 +42,8 @@ $ogFooter, $ogMailNotify, $ogMailFrom, $ogDB, $osType, $ogCurrentModule, $ogUser, $lastquery, $usingPHP5; global $NO_ADD_BUG; + if ($usingPHP5 && $errno == 2048) + return; // Don't handle E_STRICT $dberrno = $ogDB->errorNumber(); $dberror = $ogDB->errorString(); @@ -53,8 +55,6 @@ } } - if ($usingPHP5 && $errno == 2048) - return; // Don't handle E_STRICT $svn = explode(' ', trim(<<<ENDOFVERSION \$Id$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ast...@us...> - 2007-03-22 03:48:34
|
Revision: 215 http://svn.sourceforge.net/openfirst/?rev=215&view=rev Author: astronouth7303 Date: 2007-03-21 20:48:31 -0700 (Wed, 21 Mar 2007) Log Message: ----------- Added alternative for PHP5-only function. Modified Paths: -------------- trunk/src/includes/functions/debug.php Modified: trunk/src/includes/functions/debug.php =================================================================== --- trunk/src/includes/functions/debug.php 2007-03-15 02:35:03 UTC (rev 214) +++ trunk/src/includes/functions/debug.php 2007-03-22 03:48:31 UTC (rev 215) @@ -104,7 +104,10 @@ echo $specifics; echo "</pre></dd>\n"; echo "<dt>Backtrace:</dt><dd><pre>"; - debug_print_backtrace(); + if (function_exists('debug_print_backtrace')) + debug_print_backtrace(); + else + var_dump(debug_backtrace()); echo "</pre></dd>\n"; echo "</dl>"; echo "</div>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |