diff --git a/libraries/StorageEngine.class.php b/libraries/StorageEngine.class.php index 737423aa6..ce80ae9e9 100644 --- a/libraries/StorageEngine.class.php +++ b/libraries/StorageEngine.class.php @@ -184,8 +184,9 @@ class PMA_StorageEngine function getEngine($engine) { $engine = str_replace('/', '', str_replace('.', '', $engine)); - if (file_exists('./libraries/engines/' . $engine . '.lib.php') - && include_once './libraries/engines/' . $engine . '.lib.php') { + $engine_lowercase_filename = strtolower($engine); + if (file_exists('./libraries/engines/' . $engine_lowercase_filename . '.lib.php') + && include_once './libraries/engines/' . $engine_lowercase_filename . '.lib.php') { $class_name = 'PMA_StorageEngine_' . $engine; $engine_object = new $class_name($engine); } else { diff --git a/server_status.php b/server_status.php index 23f6b65d2..75d9137f3 100644 --- a/server_status.php +++ b/server_status.php @@ -309,9 +309,9 @@ $links['Slow_queries']['MySQL - ' . $strDocu] = $cfg['MySQLManualBase'] . '/slow-query-log.html'; $links['innodb'][$strServerTabVariables] - = 'server_engines.php?engine=innodb&' . PMA_generate_common_url(); + = 'server_engines.php?engine=InnoDB&' . PMA_generate_common_url(); $links['innodb'][$strInnodbStat] - = 'server_engines.php?engine=innodb&page=status&' . + = 'server_engines.php?engine=InnoDB&page=Status&' . PMA_generate_common_url(); $links['innodb']['MySQL - ' . $strDocu] = $cfg['MySQLManualBase'] . '/innodb.html';