[pmwiki-users] Problem with SearchPatterns
lists at manor-farm.org
Fri Mar 31 02:22:02 CST 2006
> All of the above looks okay to me, so I'm not sure why it's not
> working for you. You might check to make sure that you're accessing
> the global $SearchPatterns variable and not one that is local to
> a function.
Thanks, I have fixed it now by moving the SearchPatterns definition from
blogsimple.php to local/config.php. Not sure why it wasn't working
before as blogsimple.php in included_once in config.php. I assume it's
some sort of variable scoping problem. I'll investigate further, as I
would like to understand why it happened.
More information about the pmwiki-users