git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
24bddb8
)
enable short_open_tag
author
S.Çağlar Onur
<caglar@verivue.com>
Wed, 16 Mar 2011 19:58:16 +0000
(15:58 -0400)
committer
Baris Metin
<bmetin@verivue.com>
Fri, 6 May 2011 18:40:42 +0000
(14:40 -0400)
plc.d/httpd
patch
|
blob
|
history
diff --git
a/plc.d/httpd
b/plc.d/httpd
index
6701223
..
101179d
100755
(executable)
--- a/
plc.d/httpd
+++ b/
plc.d/httpd
@@
-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