Skip to content

Commit

Permalink
fix missals data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 14, 2024
1 parent 3aa8b3f commit 52adfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paths/Missals.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public static function init(array $requestPathParts = [])
self::$missalsIndex->litcal_missals = [];
$directories = array_map('basename', glob('data/missals/propriumdesanctis*', GLOB_ONLYDIR));
foreach ($directories as $directory) {
if (file_exists("data/$directory/$directory.json")) {
if (file_exists("data/missals/$directory/$directory.json")) {
$missal = new \stdClass();
if (preg_match('/^propriumdesanctis_([1-2][0-9][0-9][0-9])$/', $directory, $matches)) {
$missal->missal_id = "EDITIO_TYPICA_{$matches[1]}";
Expand Down

0 comments on commit 52adfd8

Please sign in to comment.