static function verify_mysql_version($config) { return version_compare(installer::mysql_version($config), "5.0.0", ">="); }
<?php defined("SYSPATH") or die("No direct script access."); ?> <h1> Uh oh! </h1> <p class="error"> Gallery requires at least MySQL version 5.0.0. You're using version <?php echo installer::mysql_version($config); ?> </p>