diff --git a/app/Helpers/Traits/BookXmlFilesTrait.php b/app/Helpers/Traits/BookXmlFilesTrait.php index d53be57..b924fc5 100644 --- a/app/Helpers/Traits/BookXmlFilesTrait.php +++ b/app/Helpers/Traits/BookXmlFilesTrait.php @@ -11,39 +11,39 @@ namespace App\Helpers\Traits; trait BookXmlFilesTrait { protected static $bookXmlFiles = [ - 'matthew' => '41-MAT.xml', - 'mark' => '42-MRK.xml', - 'luke' => '43-LUK.xml', - 'john' => '44-JHN.xml', - 'acts' => '45-ACT.xml', - 'romans' => '46-ROM.xml', - '1corinthians' => '47-1CO.xml', - '2corinthians' => '48-2CO.xml', - 'galatians' => '49-GAL.xml', - 'ephesians' => '50-EPH.xml', - 'philippians' => '51-PHP.xml', - 'colossians' => '52-COL.xml', - '1thessalonians' => '53-1TH.xml', - '2thessalonians' => '54-1TH.xml', - '1timothy' => '55-1TI.xml', - '2timothy' => '56-2TI.xml', - 'titus' => '57-TIT.xml', - 'philemon' => '58-PHM.xml', - 'hebrews' => '59-HEB.xml', - 'james' => '60-JAS.xml', - '1peter' => '61-1PE.xml', - '2peter' => '62-2PE.xml', - '1john' => '63-1JN.xml', - '2john' => '64-2JN.xml', - '3john' => '65-3JN.xml', - 'jude' => '66-JUD.xml', - 'revelation' => '67-REV.xml', + 'matthew' => '41-MAT', + 'mark' => '42-MRK', + 'luke' => '43-LUK', + 'john' => '44-JHN', + 'acts' => '45-ACT', + 'romans' => '46-ROM', + '1corinthians' => '47-1CO', + '2corinthians' => '48-2CO', + 'galatians' => '49-GAL', + 'ephesians' => '50-EPH', + 'philippians' => '51-PHP', + 'colossians' => '52-COL', + '1thessalonians' => '53-1TH', + '2thessalonians' => '54-1TH', + '1timothy' => '55-1TI', + '2timothy' => '56-2TI', + 'titus' => '57-TIT', + 'philemon' => '58-PHM', + 'hebrews' => '59-HEB', + 'james' => '60-JAS', + '1peter' => '61-1PE', + '2peter' => '62-2PE', + '1john' => '63-1JN', + '2john' => '64-2JN', + '3john' => '65-3JN', + 'jude' => '66-JUD', + 'revelation' => '67-REV', ]; public function getBookXmlFilePath($folder, $book) { $folder = '/'. trim($folder,'/') . '/'; - return storage_path() . $folder . self::$bookXmlFiles[$book]; + return storage_path() . $folder . self::$bookXmlFiles[$book].'xml'; } }