easytpl
easytpl copied to clipboard
Option to restrict PHP functions used.
First, thanks this is really great package.
My use case is allowing users to edit templates and have basic conditionals with variables from their user data. Want to avoid allowing users to execute their own code. So in that regard have disabled access to user defined constants and functions() But, ideally would be nice to allow access to certain functions that are safe for people to use.