You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Courtail/services/actions/supprAliasVirtuels.php

20 lines
485 B

<?php
/**
* Page de traitement permettant la suppression d'un alias virtuel.
*/
session_start();
require_once($_SERVER["DOCUMENT_ROOT"]."/services/utilisateurs/privileges.php");
testPrivileges();
require_once ($_SERVER["DOCUMENT_ROOT"]."/services/bdd/alias_virtuels.php");
if(supprAliasVirtuelsPostfix($pdo)) {
header ("Location: /pages/gestion/administration.php?page=alias&succes=1");
}
else {
header ("Location: /pages/gestion/administration.php?page=alias&erreur=1");
}
?>