[pmwiki-users] Suppress WARNING in pmwiki.php
pbowers at pobox.com
Tue Apr 18 05:37:19 CDT 2017
On Sun, Apr 16, 2017 at 12:21 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> I don't use Windows but I wonder why a path like "wiki.d/D:\path\file.txt"
> is considered external to wiki.d or even possible.
Probably this has already been communicated and I just missed it, but just
to be clear...
is not a legitimate windows path as far as I understand. There's a
mis-configuration somewhere where an absolute path (i.e., starting with
"D:\") was specified when a relative path (under wiki.d or some other
pagestore) was needed.
If that path ever gets passed to Pagestore::exists() then I would think
that it's not bad to have an error message appear. In my mind it's the
moral equivalent of a syntax error but from a configuration perspective. So
suppressing the error message with @ may or may not be a good idea... It's
true that from a pmwiki perspective it's legitimate, but it may make life
harder for the person trying to track down the configuration problem.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users