mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #01985
[Bug 667051] [NEW] safe_require throws exceptions for missing files when nonfatal set to true
Public bug reported:
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
** Affects: mahara
Importance: Medium
Status: Triaged
** Changed in: mahara
Status: New => Triaged
** Changed in: mahara
Importance: Undecided => Medium
** Changed in: mahara
Milestone: None => 1.3.3
--
safe_require throws exceptions for missing files when nonfatal set to true
https://bugs.launchpad.net/bugs/667051
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Triaged
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
Follow ups
References