1. Le fichier guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-srt a été trouvé dans la base de données sous l'id #68450
  2. Le fichier a télécharger 20281-1683658224.srt existe bien dans le dossier fichiers/2023/23605/
  3. On cherche donc a rajouter le fichier 20281-1683658224.srt (qui se trouve dans le dossier fichiers/2023/23605/) en le renommant Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.srt (l.237)
  4. L'extension du fichier 20281-1683658224.srt est *.srt (l.165)
  5. Le fichier *.zip sera stocké dans include/dl/
  6. Le fichier *.zip a télécharger s'apppelera guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-(fansub)-ionoo.zip (l.212)
  7. Le fichier 20281-1683658224.srt va être appellé Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2023/23605/20281-1683658224.srt', 'Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.srt'); ! (l.216)
  8. Le fichier ZiP téléchargeable s'appellera guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-(fansub)-ionoo.zip et sera stocké dans le dossier include/dl/ (l.225)
  9. Nous recreons un fichier zip appellé guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-(fansub)-ionoo.zip dans le dossier include/dl/ (l.229)
  10. On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
  11. L'image Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.srt n'a bien été trouvé dans le dossier fichiers/2023/23605/ et donc a été ajouté dans le ZiP téléchargé
  12. Nous tentons d'ajouter le fichier fichiers/2023/23605/20281-1683658224.srt (renommé Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.srt) contenu dans le dossier "fichiers/2023/23605/" avec la fonction $zip->addFile('fichiers/2023/23605/fichiers/2023/23605/20281-1683658224.srt', 'Guy.Ritchies.The.Covenant.2023.1080p.WEBRip.x265-RARBG.srt') (l.245)
  13. On a crée $dl.$zipname.zip ? include/dl/guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-(fansub)-ionoo.zip
  14. Aucun nFO n'est renseigné dans la base de données pour cette release donc c'est normal qu'on ne l'ajoute pas ! (l.257)
  15. On ajoute la vignette du film grace au fichier the-covenant.jpg contenue dans le dossier img/vignettes/2023/.
    Le code utilisé est $zip->addFile('img/vignettes/2023/the-covenant.jpg', 'the-covenant.jpg'); (l.268)
  16. Le fichier guy-ritchies-the-covenant-2023-1080p-webrip-x265-rarbg-(fansub)-ionoo.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.
La page c'est charge en 3.018 secondes // PHP