[wp-testers] Akismet 1.12 on IIS

James Johnson jtjohnson at takklesoft.com
Wed Dec 21 23:45:09 GMT 2005


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

James

-----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



More information about the wp-testers mailing list