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... On Sat, Jan 16, 2010 at 10:17 AM, Jasper Frumau <[email protected]> wrote: > > On Fri, Jan 15, 2010 at 11:44 PM, Scott Haneda <[email protected]> wrote: >> >> You may want to consider keeping it off in php.ini, and turning it on just for that host. That is how I would do it. > > Good idea. Could do that with a .htaccess .. > >> >> -- >> Scott * If you contact me off list replace talklists@ with scott@ * >> >> On Jan 15, 2010, at 11:32 AM, Jasper Frumau wrote: >> >> > Thanks for the reply. Solved it. Activated short tags in php.ini and now all >> > works. The developer used <? instead of <?php here and there so that was >> > causing all kinds of errors... >> >
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
