From c31e9f1188934d0515210c6c0c4b6bb23ca437f0 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 6 Jun 2010 19:06:24 -0700 Subject: Add a check for short_open_tag --- installer/installer.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'installer/installer.php') 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 JavaScript Object Notation (JSON) extension. Please install it."; } + if (!ini_get("short_open_tag")) { + $errors[] = "Gallery requires short_open_tag to be on. Please enable it in your php.ini."; + } + return @$errors; } -- cgit v1.2.3