path disclosure

This commit is contained in:
Marc Delisle
2003-07-19 11:05:17 +00:00
parent 5c87b95901
commit 9ee62d075a
2 changed files with 13 additions and 0 deletions

View File

@@ -2,6 +2,16 @@
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4: // 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 * Gets the list of the table in the current db and informations about these
* tables if possible * tables if possible

View File

@@ -20,6 +20,9 @@ require('./header.inc.php3');
//all hardcoded strings converted by Robbat2, 15 January 2003 9.34PM //all hardcoded strings converted by Robbat2, 15 January 2003 9.34PM
require('./libraries/common.lib.php3'); require('./libraries/common.lib.php3');
// Check parameters
PMA_checkParameters(array('db'));
/** /**
* Imports docSQL files * Imports docSQL files
* *