Probleme de suppression de sous-domaines lors d'usurpation d'identité

This commit is contained in:
Alan Garcia 2013-04-15 08:04:54 +00:00
parent d768d03839
commit f5df53323d
1 changed files with 6 additions and 7 deletions

View File

@ -35,19 +35,18 @@ $fields = array (
);
getFields($fields);
$dt=$dom->domains_type_lst();
if (!$isinvited && $dt[strtolower($type)]["enable"] != "ALL" ) {
__("This page is restricted to authorized staff");
exit();
}
$dom->lock();
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
$error=$err->errstr();
}
$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>
<?php