environment so that the only php allowed to execute is within a signed Phar
> in order to add a strong new layer to our site security.
>
> Robert
> -
> Robert Goldsmith
> rgoldsm...@names.co.uk
>
>
>
>
> On 15 Aug 2012, at 17:11, Kornel Lesi��ski wrote:
>
sed instead of the
> PHPTAL class?
>
> Robert
> -
> Robert Goldsmith
> rgoldsm...@names.co.uk
>
>
>
>
> On 15 Aug 2012, at 15:41, Kornel Lesi��ski wrote:
>
>> The fact there are protected methods is historical.
>>
>> There can be
getPreFilterInstances()
>setCodeFile()
>getFunctionNamePrefix()
>
> Is there a specific reason for this or is it just historical? Obviously it is
> much harder to subclass a class with private methods.
>
> Robert
> -
> Robert Goldsmith
> rgoldsm...@names
The hash is computed in PHPTAL::getFunctionName(). Filename is built from that
name.
Subclass PHPTAL class and override this method to compute unique name from
path/settings you care about.
Also override cleanUpGarbage() to stop it from deleting compiled templates.
--
regards, Kornel
On