From c389e229828e5e9b8acd2618f0e4365ada77beab Mon Sep 17 00:00:00 2001 From: Chris Kelly Date: Wed, 5 Nov 2008 22:37:48 +0000 Subject: doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess --- .htaccess | 1 + index.php | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 .htaccess 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); -- cgit v1.2.3