On 03-03-2009 at 00:34:53 Alister Cameron <alister.came...@cameroncreative.com>
Because I'm using PHPTAL in a WordPress theme, I want to disable PHP
except for some very basic logic operations.
Has anyone done this, and if so, how?
Is there some elegant and simple way to control which PHP functions can
be called, etc??
Any advice much appreciated.
There is no such option.
You could make insertion of PHP difficult by removing php prefix from TalesInternal.php
and "self::ST_PREPROC" case from XmlParser.php, but since PHPTAL wasn't
designed to stop anybody from using PHP, I can't guarantee that this will be secure.
PHPTAL mailing list