Bouton "proteger ce répertoire" dans le browser n'envoyait pas correctement la valeur, et en face elle était pas récupéré
This commit is contained in:
parent
1232a826de
commit
d3d36c198f
|
@ -592,7 +592,7 @@ if ($hta->is_protected($R)) {
|
|||
echo "<a href=\"hta_edit.php?dir=".(($R)?$R:"/")."\">"._("Edit this folder's protection")."</a>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"hta_add.php?value=".(($R)?$R:"/")."\">"._("Protect this folder")."</a>";
|
||||
echo "<a href=\"hta_add.php?dir=".(($R)?$R:"/")."\">"._("Protect this folder")."</a>";
|
||||
}
|
||||
?></span> <?php __("with a login and a password"); ?>
|
||||
</p><p>
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"dir" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
?>
|
||||
<h3><?php __("Protect a folder"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
|
|
Loading…
Reference in New Issue