[typo] defined $TESTING

Matijs van Zuijlen Matijs.van.Zuijlen at xs4all.nl
Sat Jun 9 03:18:04 EDT 2007


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.

Matijs van Zuijlen					http://www.matijs.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/typo-list/attachments/20070609/9c9126f6/attachment.bin 

More information about the Typo-list mailing list