bug #1788533 Ugly error under PHP < 5

This commit is contained in:
Marc Delisle
2007-09-06 17:05:18 +00:00
parent 723758e333
commit a3d4747029

View File

@@ -59,7 +59,12 @@ require_once './libraries/sanitizing.lib.php';
/**
* the PMA_Theme class
* (this one is the first to produce a fatal error under PHP < 5)
*/
if (version_compare(PHP_VERSION, '5.0.0') < 0 ) {
PMA_fatalError('strUpgrade', array('PHP', '5'));
}
require_once './libraries/Theme.class.php';
/**