Added check for HHVM in Debugger,

This commit is contained in:
Graham Weldon 2012-12-27 22:38:43 +09:00
parent f792136c26
commit 604898ad0b

View file

@ -427,7 +427,7 @@ class Debugger {
* @return string * @return string
*/ */
protected static function _highlight($str) { protected static function _highlight($str) {
if (function_exists('hphp_log')) { if (function_exists('hphp_log') || function_exists('hphp_gettid')) {
return htmlentities($str); return htmlentities($str);
} }
$added = false; $added = false;