path disclosure

This commit is contained in:
Marc Delisle
2003-07-19 11:36:53 +00:00
parent debad8789b
commit 81fe6d6e47
4 changed files with 22 additions and 2 deletions

View File

@@ -10,6 +10,16 @@ if (!isset($selected_tbl)) {
include('./header.inc.php3');
}
// Check parameters
if (!defined('PMA_COMMON_LIB_INCLUDED')) {
include('./libraries/common.lib.php3');
}
PMA_checkParameters(array('the_tables'));
if (!is_array($the_tables)) {
exit();
}
/**
* Gets the relations settings
@@ -635,7 +645,7 @@ function printPage()
//-->
</script>
<?php
echo '<br /><br />&nbsp;<input type="button" style="visibility: ; width: 100px; height: 25px" id="print" value="Print" onclick="printPage()">' . "\n";
echo '<br /><br />&nbsp;<input type="button" style="visibility: ; width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
require('./footer.inc.php3');
?>