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.
20 lines
506 B
20 lines
506 B
3 years ago
|
<?php
|
||
|
|
||
|
require_once ($_SERVER["DOCUMENT_ROOT"]."/services/bdd/connexion.php");
|
||
|
|
||
|
function listeAliasVirtuelsPostfix($pdo) {
|
||
|
try {
|
||
|
$req = $pdo->query('SELECT * FROM postfix_alias_virtuels');
|
||
|
$liste_alias_virtuels = array();
|
||
|
foreach ($req as $alias_virtuels_bdd => $alias_virtuels) {
|
||
|
array_push($liste_alias_virtuels,$alias_virtuels);
|
||
|
}
|
||
|
return $liste_alias_virtuels;
|
||
|
}
|
||
|
catch (\Exception $e) {
|
||
|
die ("Erreur de requête de selection des domaines pour \"$base\" : ".$e->getMessage());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|