diff options
author | Chris Kelly <ckdake@ckdake.com> | 2008-11-05 22:20:58 +0000 |
---|---|---|
committer | Chris Kelly <ckdake@ckdake.com> | 2008-11-05 22:20:58 +0000 |
commit | 3d20abcdf0874e831f64811a81f10b5610e8cda3 (patch) | |
tree | 8b7ec975e615a5931b7bcbe0c60fbbc5c71d079e | |
parent | 134bac46d07a4d027ef350c69a6cc8f787bfa6e9 (diff) |
move short_open_tag setting from .htaccess to ini_set because it works more often and fails more gracefully
-rw-r--r-- | .htaccess | 1 | ||||
-rw-r--r-- | index.php | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess deleted file mode 100644 index 9722ff7c..00000000 --- a/.htaccess +++ /dev/null @@ -1 +0,0 @@ -php_flag short_open_tag on @@ -30,6 +30,9 @@ 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); @@ -57,4 +60,4 @@ if (PHP_SAPI == 'cli') { } // Initialize. -require SYSPATH . 'core/Bootstrap' . EXT;
\ No newline at end of file +require SYSPATH . 'core/Bootstrap' . EXT; |