Alternc
latest
Alternc logiel libre pour l'hébergement
hta_del.php
Go to the documentation of this file.
1
<?php
2
/*
3
----------------------------------------------------------------------
4
LICENSE
5
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public License (GPL)
8
as published by the Free Software Foundation; either version 2
9
of the License, or (at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
To read the license please visit http://www.gnu.org/copyleft/gpl.html
17
----------------------------------------------------------------------
18
*/
19
20
/**
21
* delete a protected folder using .htaccess for Apache2
22
*
23
* @copyright AlternC-Team 2000-2017 https://alternc.com/
24
*/
25
26
require_once(
"../class/config.php"
);
27
28
reset($_POST);
29
while
(list(
$key
,
$val
)=each($_POST)) {
30
if
(substr(
$key
,0,4)==
"del_"
) {
31
$return = $hta->DelDir(
$val
);
32
if
($return) {
33
$msg
->raise(
"INFO"
,
"hta"
,_(
"The protected folder %s has been successfully unprotected"
),
$val
);
34
}
35
}
36
}
37
include(
"hta_list.php"
);
38
exit
();
39
?>
exit
exit
Definition:
adm_doadd.php:70
$msg
$msg
Definition:
bootstrap.php:75
$val
$val
Definition:
tempovars.php:15
$key
if(empty($_POST['key'])||empty($_POST['val'])) $key
Definition:
tempovars.php:14
bureau
admin
hta_del.php
Generated on Sat Sep 16 2023 12:00:03 for Alternc by
1.9.1