[typo] defined $TESTING
pdcawley at bofh.org.uk
Sat Jun 9 03:27:39 EDT 2007
On 09/06/07, Matijs van Zuijlen <Matijs.van.Zuijlen at xs4all.nl> wrote:
> The copy of memcache.rb in typo's trunk has the line
> $TESTING = defined? $TESTING
> at the top. This means that after including memcache, $TESTING is
> definitely defined. If we're testing, it's true, if not, it's defined and
> In the typo code elsewhere, the checks for testing mode only check whether
> $TESTING is defined, not what its actual value is.
> This means typo always runs in testing mode!
> I believe this is the main reason threaded trackback pings were not
> working properly.
Oh dear ghod! Thanks for the spot. I shall fix it immediately.
More information about the Typo-list