diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-10 16:36:08 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-10 16:36:08 +0000 |
commit | 92b1ae14f971434b6a9aebe817071b16f1fb1aae (patch) | |
tree | cca5c2a84bd592a81e58c7a443c4920d3a4a8a7c /index.php | |
parent | 7a1b2b0ca7dc10c69f58f3f53e6d8d1c1039db77 (diff) |
Require short_open_tag to be enabled, or die.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ define('IN_PRODUCTION', true); // Gallery requires PHP 5.2+ version_compare(PHP_VERSION, '5.2', '<') and exit('Gallery requires PHP 5.2 or newer.'); +// Gallery requires short_tags to be on +!ini_get('short_open_tag') and exit('Gallery requires short_open_tag to be on.'); + // Set the error reporting level. Use E_ALL unless you have a special need. error_reporting(E_ALL); |