diff --git a/bootstrap.php b/bootstrap.php index 7161fd9b..898f659f 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -48,7 +48,9 @@ function _ovk_check_environment(): void function ovkGetQuirk(string $quirk): int { - static $quirks = chandler_parse_yaml(__DIR__ . "/quirks.yml"); + static $quirks = NULL; + if(!$quirks) + $quirks = chandler_parse_yaml(__DIR__ . "/quirks.yml"); return isset($v = $quirks[$quirk]) ? (int) $v : 0; } diff --git a/locales b/locales index e98c4241..0c50ecdd 160000 --- a/locales +++ b/locales @@ -1 +1 @@ -Subproject commit e98c42410b89cd011c44a387b1a401e6634d0ac5 +Subproject commit 0c50ecdd77ac6643c7e5a29dcfff8ad84706ec3f