Browse Source

Mise à jour de la liste des fichiers acceptés

master
Matthieu Patout 10 months ago
parent
commit
c547089631
  1. 2
      oci-framasite/oci-framagrav.php

2
oci-framasite/oci-framagrav.php

@ -4,7 +4,7 @@ function dir_is_empty($dirname)
{
if (!is_dir($dirname)) return false;
foreach (scandir($dirname) as $file) {
if (!in_array($file, array('.','..','oci-framagrav.php','oci-uploader.php'))) return false;
if (!in_array($file, array('.','..','oci-framagrav.php','oci-framagrav-uploader.php'))) return false;
}
return true;
}

Loading…
Cancel
Save