MantisBT: master-2.27 9e2b936c
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
raspopov | dregad | master-2.27 | 2024-12-21 01:43 | master-2.27 317abee4 |
Affected Issues | 0035198: Caching language loading can be more efficient. | |||
Changeset | Optimize lang_load() function Replacing preg_replace() with strncmp() and substr(). Note: the original implementation used str_starts_with() but that Fixes 0035198, PR https://github.com/mantisbt/mantisbt/pull/2059 Signed-off-by: Damien Regad dregad@mantisbt.org |
|||
mod - core/lang_api.php | Diff File |