Print out the version of MySQL that we found along with our error

message, which should resolve http://gallery.menalto.com/node/90646
This commit is contained in:
Bharat Mediratta
2009-08-30 13:43:29 -07:00
parent af6bfa3c71
commit fd954fe86e
3 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<h1> Uh oh! </h1>
<p class="error">
The MySql database that you are referencing is less than the minimum version of 5.0.0.
Gallery requires at least MySQL version 5.0.0. You're using version <?= installer::mysql_version($config) ?>
</p>