flush
[m6w6/ext-psi] / src / module.c
index 0994630984786b3205d33ce08a77cece05c313e7..469fb4d6f72498ea7f5ecf9c70e0c87b66e5941f 100644 (file)
@@ -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);
        }