enable short_open_tag
authorS.Çağlar Onur <caglar@verivue.com>
Wed, 16 Mar 2011 19:58:16 +0000 (15:58 -0400)
committerBaris Metin <bmetin@verivue.com>
Fri, 6 May 2011 18:40:42 +0000 (14:40 -0400)
plc.d/httpd

index 6701223..101179d 100755 (executable)
@@ -65,6 +65,10 @@ case "$1" in
            sed -i -e 's,^;date.timezone.*,date.timezone = GMT,' $php_ini
        fi
 
+       if grep '^short_open_tag = Off' $php_ini >& /dev/null; then
+           sed -i -e 's,^short_open_tag = Off,short_open_tag = On,' $php_ini
+       fi
+
        # Disable default Listen directive
        sed -i -e '/^Listen/d' $httpd_conf