path disclosure

This commit is contained in:
Marc Delisle
2003-07-19 12:22:00 +00:00
parent fc1c4637ab
commit b6f7d26cf5
4 changed files with 26 additions and 0 deletions

View File

@@ -2,6 +2,14 @@
/* $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','table','action','num_fields'));
// Get available character sets (MySQL >= 4.1)
if (PMA_MYSQL_INT_VERSION >= 40100 && !defined('PMA_MYSQL_CHARSETS_LIB_INCLUDED')) {