]> git.mxchange.org Git - friendica.git/blobdiff - static/env.config.php
"id" is now post-user-id
[friendica.git] / static / env.config.php
index e2b9d2b5b6e20005a36327b2afc9fdef8bbae301..4f439837670831094ec8017ae005d88e3545cc85 100644 (file)
@@ -17,7 +17,7 @@
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  *
- * Main mapping table of environment variables to correct config values
+ * Main mapping table of environment variables to namespaced config values
  *
  */
 
@@ -28,4 +28,32 @@ return [
        'MYSQL_PORT' => ['database', 'port'],
        'MYSQL_PASSWORD' => ['database', 'password'],
        'MYSQL_DATABASE' => ['database', 'database'],
+
+       // Core variables
+       'FRIENDICA_ADMIN_MAIL' => ['config', 'admin_email'],
+       'FRIENDICA_URL' => ['system', 'url'],
+       'FRIENDICA_TZ' => ['config', 'timezone'],
+       'FRIENDICA_LANG' => ['config', 'language'],
+       'FRIENDICA_SITENAME' => ['config', 'sitename'],
+
+       // Storage
+       'FRIENDICA_DATA' => ['storage', 'name'],
+       'FRIENDICA_DATA_DIR' => ['storage', 'filesystem_path'],
+
+       // Debugging/Profiling
+       'FRIENDICA_DEBUGGING' => ['system', 'debugging'],
+       'FRIENDICA_LOGFILE' => ['system', 'logfile'],
+       'FRIENDICA_LOGLEVEL'=> ['system', 'loglevel'],
+       'FRIENDICA_PROFILING' => ['system', 'profiler'],
+
+       // Caching
+       'FRIENDICA_CACHE_DRIVER' => ['system', 'cache_driver'],
+       'FRIENDICA_SESSION_HANDLER' => ['system', 'session_handler'],
+       'FRIENDICA_LOCK_DRIVER' => ['system', 'lock_driver'],
+
+       // Redis Config
+       'REDIS_HOST' => ['system', 'redis_host'],
+       'REDIS_PORT' => ['system', 'redis_port'],
+       'REDIS_PW' => ['system', 'redis_password'],
+       'REDIS_DB' => ['system', 'redis_db'],
 ];