Skip to content

Commit

Permalink
Added check for HHVM in Debugger,
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Dec 27, 2012
1 parent f792136 commit 604898a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/Debugger.php
Expand Up @@ -427,7 +427,7 @@ public static function excerpt($file, $line, $context = 2) {
* @return string
*/
protected static function _highlight($str) {
if (function_exists('hphp_log')) {
if (function_exists('hphp_log') || function_exists('hphp_gettid')) {
return htmlentities($str);
}
$added = false;
Expand Down

0 comments on commit 604898a

Please sign in to comment.