path disclosure

This commit is contained in:
Marc Delisle
2003-07-19 12:35:10 +00:00
parent b6f7d26cf5
commit 11a7d36f14
2 changed files with 11 additions and 0 deletions

View File

@@ -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');
}
if (!defined('PMA_BOOKMARK_LIB_INCLUDED')) {
include('./libraries/bookmark.lib.php3');
}
PMA_checkParameters(array('db','table','url_query'));
/**
* Defines the query to be displayed in the query textarea

View File

@@ -10,6 +10,7 @@ require('./libraries/grab_globals.lib.php3');
$js_to_run = 'functions.js';
require('./libraries/common.lib.php3');
PMA_checkParameters(array('db','table'));
/**
* Defines the url to return to in case of error in a sql statement