Skip to content

Commit

Permalink
fixup! e11b992
Browse files Browse the repository at this point in the history
fix Drupal package detection

Use file that is loaded also on PHP 8.2 with include/require optimizations that
don't execute files without executable statements.
  • Loading branch information
lavarou committed Feb 23, 2024
1 parent b38f940 commit 180bf59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/php_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ typedef struct _nr_vuln_mgmt_table_t {

/* Note that all paths should be in lowercase. */
static const nr_vuln_mgmt_table_t vuln_mgmt_packages[] = {
{"Drupal", "core/lib/drupal.php", nr_drupal_version},
{"Drupal", "drupal/component/dependencyinjection/container.php", nr_drupal_version},
{"Wordpress", "wp-includes/version.php", nr_wordpress_version},
};

Expand Down

0 comments on commit 180bf59

Please sign in to comment.