Fixed PhpTemplate class, now functional.