[pmwiki-users] Intermittent Problem with creating pages.
H. Fox
haganfox at users.sourceforge.net
Tue Jul 10 11:58:56 CDT 2007
On 7/10/07, Ben Wilson <dausha at gmail.com> wrote:
> The quoted section below occurs intermittently when I try to create a
> page (using WritePage()) in a function put at the end via
> register_function_shutdown(). I don't know why, but it appears that
> PmWiki forgets where wiki.d is.[1] Sometimes it works, which is why I
> scratch my head.
Are you passing getcwd() to the function and using chdir() therein?
See it done "Pm's way" in the scripts/ directory.
Hagan
More information about the pmwiki-users
mailing list