Enable Php Parsing in Templates

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Brian
Posts: 1
Joined: Mon Dec 10, 2012 10:06 pm

Enable Php Parsing in Templates

Post by Brian »

Hi, I'm trying to include some php within my template files so I don't need to change anything outside of the template folder to make updating easier. I can't seem to find where to enable php parsing in the template. I see a lot of references to it for older versions, has this option been moved/removed? If so, could you please direct me to where I can enable it. Thank you.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Enable Php Parsing in Templates

Post by Thorsten »

Hi,

we removed the possibility to parse PHP in templates due to security concerns. Here's the removal commit from 2007:

https://github.com/thorsten/phpMyFAQ/co ... d7d2a4eff0

Use it at your own risk!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply