I'm trying to parse templates from an HTTP path, are there any plans to
include http:// path support to the template parser in PHPTAL? For example:
$tal = new PHPTAL("http://mysite.com/templates/mytemplate.html");
I'm currently using PHPTAL 1.1.9.
I attempted to patch this myself today. I replaced all the file_exists()
calls, which are known to have problems with http:// paths, with an
HTTP-friendly function, but then hit a weird problem where
PHPTAL_FileSourceResolver->resolve() would be called but nothing in the
function is executed (even outside the foreach loop!).
PHPTAL mailing list