Skip to content

Commit

Permalink
Merge pull request #345 from Hackerl/main
Browse files Browse the repository at this point in the history
add PHP module dependencies
  • Loading branch information
Hackerl committed Nov 10, 2022
2 parents 083c723 + 731f0c7 commit cba6e79
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rasp/php/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,16 @@ PHP_MINFO_FUNCTION (php_probe) {
php_info_print_table_end();
}

zend_module_dep php_probe_module_dep[] = {
ZEND_MOD_REQUIRED("standard")
ZEND_MOD_CONFLICTS("xdebug")
ZEND_MOD_END
};

zend_module_entry php_probe_module_entry = {
STANDARD_MODULE_HEADER,
STANDARD_MODULE_HEADER_EX,
nullptr,
php_probe_module_dep,
"php probe",
nullptr,
PHP_MINIT(php_probe),
Expand Down

0 comments on commit cba6e79

Please sign in to comment.