summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-08 01:14:51 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-08 01:14:51 -0600
commited6302a0adbdee604722ce93ad975a55e1d02397 (patch)
tree434fe1d24e827962b1d7204aad7a35cc932e87d1 /index.php
parent6357f3332b9bc33b10c11dc93b83ba9e72eec109 (diff)
parent828f6add509c26ee183b44b4ad4f927f34d04509 (diff)
Merge branch 'master' of git@github.com:bharat/gallery3
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 7def7d16..d0e12cfc 100644
--- a/index.php
+++ b/index.php
@@ -21,7 +21,8 @@
define("IN_PRODUCTION", true);
// Gallery requires PHP 5.2+
-version_compare(PHP_VERSION, "5.2.3", "<") and exit("Gallery requires PHP 5.2.3 or newer.");
+version_compare(PHP_VERSION, "5.2.3", "<") and
+ exit("Gallery requires PHP 5.2.3 or newer (you're using " . PHP_VERSION . ")");
// Gallery requires short_tags to be on
!ini_get("short_open_tag") and exit("Gallery requires short_open_tag to be on.");