Plantage de Flock.php sous Windows
Si la fonction spip_file_get_contents de flock.php reçoit comme chemin de fichier un fichier qui n'existe pas, alors :
- `file($fichier) renvoie la valeur booléenne false
- join(, `file($fichier)) <=> join(, false) qui donne une erreur : Warning: join() [function.join]: Invalid arguments passed in \spipsvn\ecrire\inc\flock.php on line 71
Une conversion explicite : (string)`file($fichier) ne produit pas d'erreur (cf http://us3.php.net/manual/en/language.types.string.php#language.types.string.casting).
Erreur rencontrée sous Windows à l'installation d'une nouvelle instance dans le cadre d'une mutualisation facile.
Patch joint.