#1 September 19, 2016 2:20pm

misterm
Member
Registered: September 19, 2016
Posts: 1

PHP Short codes?

I've just installed Bigtree, which looks promissing btw., just to find out it uses PHP shorttags everywhere? Is there a specific reason for doing it like that? I have my server setup for shorttags to be disbaled, so by default I can't build in BigTree, or I need to do a mass find-replace.

Normal PHP open/close tags will simply work everywhere, so why the decission to do short tags?

Offline

#2 September 19, 2016 2:22pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: PHP Short codes?

It was a legacy code decision (the project is very old -- ~9 years or so).

BigTree 4.3 switches completely to full <?php tags but isn't production ready at this time:
https://github.com/bigtreecms/BigTree-C … /4.3-devel

The .htaccess that 4.2 delivers tries to turn on short tags (if your server allows for php_flag in .htaccess).

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.