forked from rebillar/site-accueil-insa
tests
This commit is contained in:
parent
bb2507f786
commit
59cb7c2bd9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ if(isset($_POST['add_epreuve'])){
|
|||
// 0 si une verification a invalidé le fichier
|
||||
// 2 si l'image existe déjà mais l'upload est valide, on va alors utiliser le nom pour la bdd
|
||||
|
||||
if(isset($_FILES["photo"])){
|
||||
if($_FILES["file"]["error"] != 0){
|
||||
$EXT_WHITELIST = array("gif","jpg","jpeg","raw","png","svg");
|
||||
|
||||
/* gestion des uploads d'images indices */
|
||||
|
|
Loading…
Reference in a new issue