[wp-testers] Akismet 1.12 on IIS

Ryan Boren ryan at boren.nu
Thu Dec 22 00:31:43 GMT 2005


On Wed, 2005-12-21 at 18:45 -0500, James Johnson wrote:
> Here is what I get:
> 
> FILE: C:\[path info]\wwwroot\blog\wp-content\plugins\akismet\akismet.php
> basename: akismet.php
> plugin_basename: akismet\akismet.php
> base plugin base: akismet.php

http://dev.wp-plugins.org/changeset/4227

Does that help?

Ryan

> -----Original Message-----
> From: wp-testers-bounces at lists.automattic.com
> [mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Ryan Boren
> Sent: Wednesday, December 21, 2005 6:08 PM
> To: wp-testers at lists.automattic.com
> Subject: RE: [wp-testers] Akismet 1.12 on IIS
> 
> Using basename(__FILE__) can break things.  We need the whole thing so that
> we can get to full path relative to the plugins directory.
> 
> Maybe some debug code would shed some light.  Could those seeing this
> problem add the following somewhere in akismet.php?
> 
> echo 'FILE: ' . __FILE__ . '<br />';
> echo 'basename: ' . basename(__FILE__) . '<br />'; echo 'plugin_basename: '
> . plugin_basename(__FILE__) . '<br />'; echo 'base plugin base: ' .
> plugin_basename(basename(__FILE__)) .
> '<br />';
> Ryan
> 
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list