views:

27

answers:

1

I finding a php template engine allow user defined function only or it allow white-list functions only. My problem is I will let my user edit their templates. So I need a safe template engine.

+1  A: 

The twig project ( http://www.twig-project.org/ ) has a sandbox mode.

efritz