[wp-testers] Akismet 1.12 on IIS

Owen Winkler ringmaster at midnightcircus.com
Wed Dec 21 23:11:08 GMT 2005


James Johnson wrote:
> I see, thanks for those links.
> 
> So what is the correct usage? According mboothby in the ticket Toby linked
> to the 'old' way to add a management function is to register with
> basename(__FILE__) and the new way is just plain __FILE__.  Yet the new way
> breaks on IIS and the ticket you linked to says the opposite, the old way is
> __FILE__ and the new way should be basename(__FILE__).
> 
> Testing on my site tells me that the ticket you link to is correct; using
> basename(__FILE__) works while the existing __FILE__ does not.  But how does
> that play with other servers?

It should work fine since it's not actually using the name passed in as 
a filename, but just as something that gets looked up for what to add to 
the menu.

On Linux, WFM.

Owen



More information about the wp-testers mailing list