I have a heavily modded headinclude that checks at various points where it's called from via THIS_SCRIPT='bla' so I can write out things like headers for showthread using the title/tags in some copy for better SEO, but the conditionals breaks because it looks like showwiki.php reports itself as "showthread" when viewing a wiki article.
Is there anything I could check against that is in the scope of headinclude so I know when I'm inside it? Perhaps some way I could set a global variable I could check so I know when I'm inside showwiki.php ? I know just some basic php so I can't figure out how to solve this.
Thanks.
Bookmarks