PHP5 + Mostwanted

I’ve recently upgraded from PHP4 to PHP5 to allow me to test out a couple of web apps on the same machine that runs things blog. All in all it went well, had to specify timezone in a config file for some of the code I’ve done myself – and my TV recording system doesn’t do the full list of items to record (will fix at some point). It also borked the most wanted panel on this blog.

Anyway I have a fix for this now – simply call mostwanted using these two lines of php:
$mostwanted = new MostWanted;
$mostwanted->mostwanted(7, 30, true);

in replace of

MostWanted::mostwanted(7, 30, true);

December 9, 2006 · robert · Comments Closed
Posted in: bugs, Software