Skip to content
Permalink
Browse files

Added check for HHVM in Debugger,

  • Loading branch information...
predominant committed Dec 27, 2012
1 parent f792136 commit 604898ad0bbde87aac61e7881201bd93f0ddd53e
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.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.