Skip to content

Commit

Permalink
- Allow to trigger profiling by cookie.
Browse files Browse the repository at this point in the history
SVN Rev: 2327
  • Loading branch information
Jani Taskinen committed May 9, 2007
1 parent c05e500 commit 0faa4a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xdebug.c
Expand Up @@ -1426,6 +1426,9 @@ void xdebug_execute(zend_op_array *op_array TSRMLS_DC)
) || (
PG(http_globals)[TRACK_VARS_POST] &&
zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_PROFILE", sizeof("XDEBUG_PROFILE"), (void **) &dummy) == SUCCESS
) || (
PG(http_globals)[TRACK_VARS_COOKIE] &&
zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, "XDEBUG_PROFILE", sizeof("XDEBUG_PROFILE"), (void **) &dummy) == SUCCESS
)
)
)
Expand Down

0 comments on commit 0faa4a0

Please sign in to comment.