Ticket #166 (closed Bug: worksforme)
Bug in include_paths
| Reported by: | Maxximus | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.0 |
| Component: | Core | Version: | SVN HEAD |
| Keywords: | Cc: |
Description
in system/core/Config.php line 145. if (($path = str_replace('\\', '/', realpath($path))) == ) Use of realpath will not work for relative paths when PHP include path is not including the path to application. This works for me: if (($path = str_replace('\\', '/', realpath(APPPATH.$path))) == ) but this means it must always be relative to APPATH.
Change History
Note: See
TracTickets for help on using
tickets.
