Jump to content

PHP Tags


Frank Auffret

Recommended Posts

Not sure about the particular line there, can't find that one, but I've found one bit which might do the trick, have a look on includes/lib/smarty/Smarty.class.php

Find:

public $php_handling = self::PHP_PASSTHRU;

And try changing it to:

public $php_handling = self::PHP_ALLOW;

Might do it, but I'm no smarty expert, so can't really say for sure. May also need to change the allow_php_templates one below too

Link to comment
Share on other sites

Thanks for the replies chaps and sorry for the delay in getting back been busy on a big job.

Yes I did manually remove all files from the cache and also tried public $php_handling = self::PHP_ALLOW; but still don't work

When I get back to it I'll research the Smarty site and report here when I find out how.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...