diff options
author | Andrew Dolgov <[email protected]> | 2021-03-03 19:07:39 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-03 19:07:39 +0300 |
commit | cb7f322f09fb8ed9be95978db82f99a2e8a4661b (patch) | |
tree | 7c84b6ba264fd07a3a5105ce946390a5c5554dad /classes/config.php | |
parent | 06cb181f7315b709d9d8ab926f7607f3227ad168 (diff) |
add basic plugin installer (uses tt-rss.org)
Diffstat (limited to 'classes/config.php')
-rw-r--r-- | classes/config.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/config.php b/classes/config.php index e94bcabb6..7a37d4a86 100644 --- a/classes/config.php +++ b/classes/config.php @@ -53,6 +53,8 @@ class Config { const HTTP_PROXY = "HTTP_PROXY"; const FORBID_PASSWORD_CHANGES = "FORBID_PASSWORD_CHANGES"; const SESSION_NAME = "SESSION_NAME"; + const CHECK_FOR_PLUGIN_UPDATES = "CHECK_FOR_PLUGIN_UPDATES"; + const ENABLE_PLUGIN_INSTALLER = "ENABLE_PLUGIN_INSTALLER"; private const _DEFAULTS = [ Config::DB_TYPE => [ "pgsql", Config::T_STRING ], @@ -102,6 +104,8 @@ class Config { Config::HTTP_PROXY => [ "", Config::T_STRING ], Config::FORBID_PASSWORD_CHANGES => [ "", Config::T_BOOL ], Config::SESSION_NAME => [ "ttrss_sid", Config::T_STRING ], + Config::CHECK_FOR_PLUGIN_UPDATES => [ "true", Config::T_BOOL ], + Config::ENABLE_PLUGIN_INSTALLER => [ "true", Config::T_BOOL ], ]; private static $instance; |