[pLog-svn] r2881 - in plog/trunk/class/template/smarty:

Christoph Feddersen feddersen at herr-der-ringe-film.de
Wed Feb 1 19:21:48 GMT 2006



Jon Daley wrote:
>     It sounds like we had better switch to absolute paths.  They keep
> talking about safest/best/etc, sounds like there might be other issues
> that we don't know about (yet).
>     It seems like Mark's solution of prepending the CLASS_PATH would be
> fine, we just need to make sure to do it every time we use the
> config('template_folder') call.

It saves several iterations to use absolute paths, so it's certainly the
fastest way. I think you only need to change the Template constructor
and setTemplateDir(). Just prepend CLASS_PATH instead of adding '.' to
the $template_dir array.


More information about the pLog-svn mailing list