safe_require throws exceptions for missing files when nonfatal set to true

Bug #667051 reported by Richard Mansfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Richard Mansfield

Bug Description

Sometimes the php realpath function returns true for files that don't exist:

http://php.net/manual/en/function.realpath.php#82770

When that happens, safe_require calls require_once on a nonexistent file, even when you ask it not to do that by calling it with the nonfatal parameter.

See the error log posted here: http://mahara.org/interaction/forum/topic.php?id=2414

Changed in mahara:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 1.3.3
Changed in mahara:
assignee: nobody → Richard Mansfield (richard-mansfield)
status: Triaged → Fix Committed
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

Remote bug watches

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