From 604898ad0bbde87aac61e7881201bd93f0ddd53e Mon Sep 17 00:00:00 2001 From: Graham Weldon Date: Thu, 27 Dec 2012 22:38:43 +0900 Subject: [PATCH] Added check for HHVM in Debugger, --- lib/Cake/Utility/Debugger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index 0b7e1ebfd..5d5776636 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -427,7 +427,7 @@ class Debugger { * @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;