mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Added check for HHVM in Debugger,
This commit is contained in:
parent
f792136c26
commit
604898ad0b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue