X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fmodule.c;h=469fb4d6f72498ea7f5ecf9c70e0c87b66e5941f;hp=0994630984786b3205d33ce08a77cece05c313e7;hb=ea0162a1698563a49de50456cd3f2cc18b83a05e;hpb=5d54598329a4d04dd0080bc1252d1de85a7befef diff --git a/src/module.c b/src/module.c index 0994630..469fb4d 100644 --- a/src/module.c +++ b/src/module.c @@ -740,7 +740,7 @@ PHP_MINIT_FUNCTION(psi) PSI_ContextInit(&PSI_G(context), ops, psi_error); PSI_ContextBuild(&PSI_G(context), PSI_G(directory)); - if (getenv("PSI_DUMP")) { + if (psi_check_env("PSI_DUMP")) { PSI_ContextDump(&PSI_G(context), STDOUT_FILENO); }