Loading CHANGELOG.md +7 −0 Original line number Diff line number Diff line 1.6.1 (23/09/2025) ------------------ - [Fix] Possibilité de mettre à jour les données de la BDD à partir d'un jeu de données généré sous forme de répertoire (oubli 1.6.0) 1.6.0 (23/09/2025) ------------------ Loading src/Data/DataManager.php +15 −1 Original line number Diff line number Diff line Loading @@ -85,8 +85,22 @@ class DataManager } if (is_string($source)) { if (!isset($this->sourcesData[$i]) && file_exists($source)) { if (is_dir($source)) { if (!str_ends_with($source,'/')){ $source .= '/'; } if (file_exists($source.$table.'.php')){ if (!isset($this->sourcesData[$i])){ $this->sourcesData[$i] = []; } if (!isset($this->sourcesData[$i][$table])){ $this->sourcesData[$i][$table] = require $source.$table.'.php'; } } }else{ $this->sourcesData[$i] = require $source; } } if (isset($this->sourcesData[$i][$table])) { $data = $this->sourcesData[$i][$table]; break; Loading Loading
CHANGELOG.md +7 −0 Original line number Diff line number Diff line 1.6.1 (23/09/2025) ------------------ - [Fix] Possibilité de mettre à jour les données de la BDD à partir d'un jeu de données généré sous forme de répertoire (oubli 1.6.0) 1.6.0 (23/09/2025) ------------------ Loading
src/Data/DataManager.php +15 −1 Original line number Diff line number Diff line Loading @@ -85,8 +85,22 @@ class DataManager } if (is_string($source)) { if (!isset($this->sourcesData[$i]) && file_exists($source)) { if (is_dir($source)) { if (!str_ends_with($source,'/')){ $source .= '/'; } if (file_exists($source.$table.'.php')){ if (!isset($this->sourcesData[$i])){ $this->sourcesData[$i] = []; } if (!isset($this->sourcesData[$i][$table])){ $this->sourcesData[$i][$table] = require $source.$table.'.php'; } } }else{ $this->sourcesData[$i] = require $source; } } if (isset($this->sourcesData[$i][$table])) { $data = $this->sourcesData[$i][$table]; break; Loading