summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Kelly <ckdake@ckdake.com>2008-11-05 22:37:48 +0000
committerChris Kelly <ckdake@ckdake.com>2008-11-05 22:37:48 +0000
commitc389e229828e5e9b8acd2618f0e4365ada77beab (patch)
tree03bbf3c3280ab80f93b217a960593ac7f6e4dd68
parent91a0236f8cdea57f70433f0f90a4f60f9418cbad (diff)
doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess
-rw-r--r--.htaccess1
-rw-r--r--index.php3
2 files changed, 1 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..55b8ca98
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1 @@
+php_flag short_open_tag 1
diff --git a/index.php b/index.php
index cbbcc032..1007767a 100644
--- a/index.php
+++ b/index.php
@@ -30,9 +30,6 @@ error_reporting(E_ALL);
// and logging. You can turn off Kohana errors in application/config/config.php
ini_set('display_errors', true);
-// Enable short open tags to make our theme templates work
-ini_set('short_open_tag', 1);
-
define('EXT', '.php');
define('DOCROOT', getcwd().DIRECTORY_SEPARATOR);