bug #1788533 Ugly error under PHP < 5
This commit is contained in:
@@ -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';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user