#3 Modification de l'ordre dans le fichier virtual

This commit is contained in:
David 2018-03-18 12:05:13 +01:00
parent baf95cbfa4
commit aecdc0fa4c
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ checkupdate
conf.php
test*
var/database*
var/.htaccess

View File

@ -31,7 +31,7 @@ function UpdateVirtualDB() {
$selectcmd = $dbco->prepare("SELECT status, alias, email
FROM ".DBTABLEPREFIX."alias
WHERE status > 0
ORDER BY id ASC");
ORDER BY alias ASC");
$selectcmd->execute();
} catch ( PDOException $e ) {
echo "DB error : ", $e->getMessage();

0
var/aliasdeny.txt Normal file → Executable file
View File

5
var/blacklist.txt Normal file → Executable file
View File

@ -1,4 +1,7 @@
/^exemple@exemple.com$/
/.pl$/
/^exemple[1-9]+@toto.fr$/
/@yopmail.com$/
/^harou/
/@gmx.com$/
/^sportnet/