summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rw-r--r--index.php5
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
diff --git a/index.php b/index.php
index 9d278e62..cbbcc032 100644
--- a/index.php
+++ b/index.php
@@ -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;