path disclosure

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

View File

@@ -9,6 +9,8 @@ require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
require('./libraries/zip.lib.php3');
PMA_checkParameters(array('what'));
// What type of export are we doing?
if ($what == 'excel') {
$type = 'csv';