Probleme de suppression de sous-domaines lors d'usurpation d'identité
This commit is contained in:
parent
d768d03839
commit
f5df53323d
|
@ -35,19 +35,18 @@ $fields = array (
|
||||||
);
|
);
|
||||||
getFields($fields);
|
getFields($fields);
|
||||||
|
|
||||||
$dt=$dom->domains_type_lst();
|
|
||||||
if (!$isinvited && $dt[strtolower($type)]["enable"] != "ALL" ) {
|
|
||||||
__("This page is restricted to authorized staff");
|
|
||||||
exit();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$dom->lock();
|
$dom->lock();
|
||||||
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
|
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
}
|
}
|
||||||
$dom->unlock();
|
$dom->unlock();
|
||||||
|
|
||||||
|
$dt=$dom->domains_type_lst();
|
||||||
|
if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) {
|
||||||
|
__("This page is restricted to authorized staff");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("Deleting subdomain %s"),"http://".ife($r['name'],$r['name'].".").$r['domain']); ?> : </h3>
|
<h3><?php printf(_("Deleting subdomain %s"),"http://".ife($r['name'],$r['name'].".").$r['domain']); ?> : </h3>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue