|
From: SourceForge.net <no...@so...> - 2011-10-09 10:49:38
|
Patches item #3420857, was opened at 2011-10-09 10:49 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=3420857&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Restore working directory inside the shutdown function Initial Comment: Note for register_shutdown_function: Working directory of the script can change inside the shutdown function under some web servers, e.g. Apache. In such cases the relative path does not work. Solution: save the current working directory in autorun.php and restore it in the shutdown function simpletest_autorun(). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=3420857&group_id=76550 |