Ticket #305 (closed Bug: fixed)
Init breaks on php 5.2.4 or above due to malfunctioning of realpath
| Reported by: | Jyothirmayee | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | RobotRock |
| Component: | Core | Keywords: | php5 compatibility, realpath |
| Cc: | Sensitive: |
Description
OS: Mac OSX 10.5.3 php: 5.2.5
Seems like the behavior of realpath is changed post 5.2.4 by the Suhosin to avoid possible exploitations on some platforms.
Real path returns true if the file doesn;t exist. Will have to check for file existence before calling realpath. Reference: http://in.php.net/manual/en/function.realpath.php#82770
Change History
Note: See
TracTickets for help on using
tickets.
