浏览代码

Force shorttags on

Michael Francis 14 年之前
父节点
当前提交
81ac4d6fff
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      webroot/.htaccess

+ 4 - 1
webroot/.htaccess

@@ -4,4 +4,7 @@
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !favicon.ico$
     RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
-</IfModule>
+</IfModule>
+<IfModule mod_php5.c>
+  php_value short_open_tag 1
+</IfModule>