[pmwiki-users] Suppress WARNING in pmwiki.php

Petko Yotov 5ko at 5ko.fr
Tue Apr 18 06:17:14 CDT 2017


On 2017-04-18 13:07, Petko Yotov wrote:
> Maybe the "@" can be used at the first call of
> PageExists() line 361, and not inside the PageStore class. For other
> cases, where you might call "PageStore::exists()" with a configuration
> problem.

I don't have a Windows server to test this, on Linux whatever path I set 
as an InterMapFile will always be inside the wiki.d// directory. Can 
someone test it on Windows and report if inserting "@" on line 361 like 
this:

   else if (@PageExists($f)) {

removes the warning?

I note we already suppress similar warnings two lines above with 
@file(...).

Petko



More information about the pmwiki-users mailing list