bezoerb / grunt-php2html

Grunt plugin to compile php to html
MIT License
22 stars 4 forks source link

Php.ini.short open tag #10

Closed devcken closed 9 years ago

devcken commented 9 years ago

Hi, bezoerb.

I got a error using php2html. It means short php start/end instructions is unacceptable.

In my project, php code start as short tag. So, I add some function to grunt-php2html. It just modify short_open_tag in php.ini.

I have tested it on OSX and windows;yosemite and 7.

I hope it is useful to you.

bezoerb commented 9 years ago

Hey @devcken i appreciate your work on grunt-php2html but i don't think a grunt plugin should alter the php.ini or any other environment config.

devcken commented 9 years ago

Ok, I agree your opinion. But, If you inform related to short_open_tag, it's good to someone who use your grunt plugin.