summaryrefslogtreecommitdiff
path: root/installer/installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-06 19:06:24 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-06 19:06:24 -0700
commitc31e9f1188934d0515210c6c0c4b6bb23ca437f0 (patch)
treee0f7b9d0594485be3aafa4e4a8b856b6afeaa905 /installer/installer.php
parenta63b0e8e8ba94288169aa673f3319711fc097b61 (diff)
Add a check for short_open_tag
Diffstat (limited to 'installer/installer.php')
-rw-r--r--installer/installer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/installer.php b/installer/installer.php
index f9fd8827..53a5e3db 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -225,6 +225,10 @@ class installer {
$errors[] = "PHP is missing the <a href=\"http://php.net/manual/en/book.json.php\">JavaScript Object Notation (JSON) extension</a>. Please install it.";
}
+ if (!ini_get("short_open_tag")) {
+ $errors[] = "Gallery requires <a href=\"http://php.net/manual/en/ini.core.php\">short_open_tag</a> to be on. Please enable it in your php.ini.";
+ }
+
return @$errors;
}