Skip to content

Commit 9110805

Browse files
committed
feat(agent): add correct detection file
1 parent 3f9f7b9 commit 9110805

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

agent/php_execute.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,7 @@ typedef struct _nr_framework_table_t {
331331
*/
332332
// clang-format: off
333333
static const nr_framework_table_t all_frameworks[] = {
334-
/*
335-
* Watch out:
336-
* cake1.2 and cake1.3 use a subdirectory named 'cake' (lower case)
337-
* cake2.0 and on use a subdirectory named 'Cake' (upper case file name)
338-
*/
339-
{"CakePHP", "cakephp", NR_PSTR("cake/libs/object.php"), nr_cakephp_special_1,
340-
nr_cakephp_enable_1, NR_FW_CAKEPHP},
341-
{"CakePHP", "cakephp", NR_PSTR("cake/core/app.php"), nr_cakephp_special_2,
334+
{"CakePHP", "cakephp", NR_PSTR("cakephp/src/core/functions.php"), 0,
342335
nr_cakephp_enable_2, NR_FW_CAKEPHP},
343336

344337
/*

0 commit comments

Comments
 (0)