diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 20:38:42 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 20:38:42 -0700 |
commit | 87598288f493cadcc5c273dd7305ad579d251678 (patch) | |
tree | ccefce2630bdac3cf294b0f43805553da7dcf616 /index.php | |
parent | b826182b7a7b2d630b478d3e2bcf0628989a92d9 (diff) |
If we fail the version check, at least show the version of PHP that the server is using.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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."); |