Skip to content

Commit 0c5036f

Browse files
committed
chore(agent): update path
1 parent a4df00d commit 0c5036f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

agent/fw_cakephp.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,11 @@ void nr_cakephp_enable_2(TSRMLS_D) {
321321
#if ZEND_MODULE_API_NO >= ZEND_8_0_X_API_NO \
322322
&& !defined OVERWRITE_ZEND_EXECUTE_DATA
323323
nr_php_wrap_user_function_before_after_clean(
324-
NR_PSTR("CakeException::__construct"), nr_cakephp_problem_2, NULL, NULL);
324+
NR_PSTR("Cake\\Core\\Exception\\CakeException::__construct"),
325+
nr_cakephp_problem_2, NULL, NULL);
325326
#else
326-
nr_php_wrap_user_function(NR_PSTR("CakeException::__construct"),
327-
nr_cakephp_problem_2 TSRMLS_CC);
327+
nr_php_wrap_user_function(
328+
NR_PSTR("Cake\\Core\\Exception\\CakeException::__construct"),
329+
nr_cakephp_problem_2 TSRMLS_CC);
328330
#endif
329331
}

0 commit comments

Comments
 (0)