Do not allow user to modify php code before saving.
This commit is contained in:
@@ -21,7 +21,7 @@ $config_exists = false;
|
||||
check_config_rw($config_readable, $config_writable, $config_exists);
|
||||
?>
|
||||
<h2><?php echo $GLOBALS['strSetupConfigurationFile'] ?></h2>
|
||||
<?php display_form_top('config.php?type=post'); ?>
|
||||
<?php display_form_top('config.php'); ?>
|
||||
<input type="hidden" name="eol" value="<?php echo htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) ?>" />
|
||||
<?php display_fieldset_top('', '', null, array('class' => 'simple')); ?>
|
||||
<tr>
|
||||
@@ -35,8 +35,6 @@ check_config_rw($config_readable, $config_writable, $config_exists);
|
||||
<td class="lastrow" style="text-align: left">
|
||||
<input type="submit" name="submit_download" value="<?php echo $GLOBALS['strSetupDownload'] ?>" class="green" />
|
||||
<input type="submit" name="submit_save" value="<?php echo $GLOBALS['strSave'] ?>"<?php if (!$config_writable) echo ' disabled="disabled"' ?> />
|
||||
|
||||
<input type="reset" value="<?php echo $GLOBALS['strReset'] ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user