| commit | 8abee3ad8dc3d6bec46549849457b263e18e12bd | [log] [tgz] |
|---|---|---|
| author | Ivan Habunek <ihabunek@apache.org> | Mon Jan 07 15:48:39 2013 +0100 |
| committer | Ivan Habunek <ihabunek@apache.org> | Mon Jan 07 15:48:39 2013 +0100 |
| tree | 31d1df2dfa8fc5c037fa51295d391bfc4930274c | |
| parent | e40ac7fad28c1c6751ed42e05c5ed393f073652a [diff] |
LOG4PHP-200: Improved superglobal access in converters
Removed the current, slightly hackish access to superglobal variables,
i.e. ${$this->name}. Instead added a function in each sub-class which
returns the contents of the required superglobal. This fixes the issue and
replaces hacky accessing with more vanilla code.
Signed-off-by: Ivan Habunek <ihabunek@apache.org>