PHP errors after installation MAMP via MacPorts
jasperfrumau at gmail.com
Sun Jan 17 02:20:10 PST 2010
On Sun, Jan 17, 2010 at 2:20 AM, Ryan Schmidt <ryandesign at macports.org>wrote:
> On Jan 16, 2010, at 05:54, Jasper Frumau wrote:
> > Addedd
> > php_flag short_open_tag on
> > to .htaccess and that works. But I would like to search the theme files
> for any instances of <? and replace them by <?php so the theme will work on
> servers where I will have to work with short tags turned off. I understood
> this could be done from the command line. But it seems a little
> complicated... I will see if I can do this with textmate as well...
> Yeah, I'd use a GUI for this. I personally use TextWrangler because it's
> free but TextMate is nice too.
TextMate's search and replace does not seem to offer a search and replace
across multiple files that is precise enough. I need to replace <? by <?php
and <? only. When I look for <? I get <?php as well. I am looking into a
neat command to do it as well as TextWrangler.
> Please send a patch with your changes to the developer of the theme so they
> can be incorporated in their next release.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users