Comparison

CHANGES @ 13626:ac60c21015c7

core.configmanager: Add ways to read config values from files Inspired by something MattJ said Allows retrieving config values from files which are expected to be relative to the config directory, extending on the ENV_ method of retrieving config values from outside the config file. - FileLine retrieves the first line, stripping any trailing newline - FileContents reads the whole file - FileLines reads lines into an array
author Kim Alvefur <zash@zash.se>
date Thu, 16 Jan 2025 15:05:00 +0100
parent 13527:dba43269db5e
child 13627:2db7b3b65363
comparison
equal deleted inserted replaced
13625:ff13dd315e68 13626:ac60c21015c7
58 58
59 ### Configuration 59 ### Configuration
60 60
61 - The configuration file now supports referring and appending to options previously set 61 - The configuration file now supports referring and appending to options previously set
62 - Direct usage of the Lua API in the config file is deprecated, but can now be accessed via Lua.* instead 62 - Direct usage of the Lua API in the config file is deprecated, but can now be accessed via Lua.* instead
63 - Convenience functions for reading values from files
63 64
64 ## Changes 65 ## Changes
65 66
66 - Support sub-second precision timestamps 67 - Support sub-second precision timestamps
67 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy 68 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy