use the same minimum requirements as in our doc

This commit is contained in:
Marc Delisle
2007-09-08 23:32:49 +00:00
parent a3d4747029
commit eb8eb28126

View File

@@ -60,9 +60,10 @@ require_once './libraries/sanitizing.lib.php';
/** /**
* the PMA_Theme class * the PMA_Theme class
* (this one is the first to produce a fatal error under PHP < 5) * (this one is the first to produce a fatal error under PHP < 5)
* and let's put here the same minimum requirement as in our doc.
*/ */
if (version_compare(PHP_VERSION, '5.0.0') < 0 ) { if (version_compare(PHP_VERSION, '5.2.0') < 0 ) {
PMA_fatalError('strUpgrade', array('PHP', '5')); PMA_fatalError('strUpgrade', array('PHP', '5.2'));
} }
require_once './libraries/Theme.class.php'; require_once './libraries/Theme.class.php';