mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:50:12 +00:00
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT) - Removed now obsolete db environment variable functionality - Added functionality to load env variables (overwrites DB based cached)
This commit is contained in:
parent
3587e89482
commit
d39ee428f0
8 changed files with 93 additions and 8 deletions
|
@ -36,6 +36,8 @@ class Cache
|
|||
const SOURCE_DB = 1;
|
||||
/** @var int Indicates that the cache entry is set by a server environment variable - High Priority */
|
||||
const SOURCE_ENV = 3;
|
||||
/** @var int Indicates that the cache entry is fixed and must not be changed */
|
||||
const SOURCE_FIX = 4;
|
||||
|
||||
/** @var int Default value for a config source */
|
||||
const SOURCE_DEFAULT = self::SOURCE_FILE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue