Processing email bounces requires $_ENV to be set

Bug #993710 reported by Hugh Davenport
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Hugh Davenport

Bug Description

The problem is that $_ENV is only set if the character 'E' is in the php ini config variables-order. On most distros this is not the case.

A solution would be to use getenv instead.

http://us.php.net/manual/en/ini.core.php#ini.variables-order

Tags: bite-sized
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
status: Triaged → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1184
Committed: http://gitorious.org/mahara/mahara/commit/c382af8fb69c92d66424521a5298eb3c4351328d
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit c382af8fb69c92d66424521a5298eb3c4351328d
Author: Hugh Davenport <email address hidden>
Date: Thu May 3 15:32:41 2012 +1200

    Fix requirement for $_ENV by using getenv (Bug #993710)

    Change-Id: Id57f5df8aff6bdc89480acc1e99cd15dc2ac5bf5
    Signed-off-by: Hugh Davenport <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAlCbHO8ACgkQuMoJ2LQ3zxH8TAP/YN4BiCJZsn5a899/0UzV31Qg
lM8LXAwZWa6zFv6t0BQUHCqe6eFK9wPp51qgCWWXjUZ3vvvVcsyeWp6626aBFKSU
pCQXI9E7huPw802nJQ9WcZXRBUmgw87ww72Tx4mybnu7SPSrkZgXdnPGSMwDs89N
oWvTpl7Xuac48e6p0lU=
=ouU+
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.