diff --git a/db_details_db_info.php3 b/db_details_db_info.php3 index bc0e76bdc86c..4c4a27ef9afd 100644 --- a/db_details_db_info.php3 +++ b/db_details_db_info.php3 @@ -2,6 +2,16 @@ /* $Id$ */ // vim: expandtab sw=4 ts=4 sts=4: + +// Check parameters + +if (!defined('PMA_COMMON_LIB_INCLUDED')) { + include('./libraries/common.lib.php3'); +} + +PMA_checkParameters(array('db')); + + /** * Gets the list of the table in the current db and informations about these * tables if possible diff --git a/db_details_importdocsql.php3 b/db_details_importdocsql.php3 index 85f22c9d8188..3a9358208515 100644 --- a/db_details_importdocsql.php3 +++ b/db_details_importdocsql.php3 @@ -20,6 +20,9 @@ require('./header.inc.php3'); //all hardcoded strings converted by Robbat2, 15 January 2003 9.34PM require('./libraries/common.lib.php3'); +// Check parameters +PMA_checkParameters(array('db')); + /** * Imports docSQL files *