aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2015-04-06 15:03:11 +0200
committerMaZderMind2015-04-06 15:03:11 +0200
commitc7c528ba8787acbdc4ba84d71cf6c4e502e57e68 (patch)
treef36660ada9b5d2de60685dbcfd3e3b1df0a16c8d /index.php
parent2b0ae8cf39751dfb1e9bf1357ba59ceb416215b8 (diff)
Warn when short_open_tags is not configured correctly
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index cfe0340..44bebbb 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,8 @@
<?php
+if(!ini_get('short_open_tag'))
+ die('`short_open_tag = On` is required');
+
require_once('config.php');
require_once('lib/PhpTemplate.php');