Permalink
Browse files

Added check for HHVM in Debugger,

  • Loading branch information...
1 parent f792136 commit 604898ad0bbde87aac61e7881201bd93f0ddd53e @predominant predominant committed Dec 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Debugger.php
@@ -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;

0 comments on commit 604898a

Please sign in to comment.