mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
bug fixes
This commit is contained in:
parent
b04628f890
commit
54409c9f12
|
|
@ -285,7 +285,7 @@ abstract class GrammarAbstract
|
|||
$fullSystem = '';
|
||||
|
||||
foreach ($split as $key => $system) {
|
||||
$fullSystem .= '.' . $identifier . ($key === 0 ? $prefix : '') . $system . $identifier;
|
||||
$fullSystem .= '.' . ($system !== '*' ? $identifier : '') . ($key === 0 && $system !== '*' ? $prefix : '') . $system . ($system !== '*' ? $identifier : '');
|
||||
}
|
||||
|
||||
return \ltrim($fullSystem, '.');
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ final class Localization
|
|||
$files = \glob(__DIR__ . '/../Localization/Defaults/Definitions/' . $langCode . '_' . $countryCode);
|
||||
|
||||
foreach ($files as $file) {
|
||||
$fileContent = \file_get_contents(__DIR__ . '/../Localization/Defaults/Definitions/' . $file);
|
||||
$fileContent = \file_get_contents($file);
|
||||
|
||||
if ($fileContent === false) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user