Skip to content

Settings migration from 1 to 2

christianbeeznest edited this page May 4, 2023 · 15 revisions

Move settings from configuration.php to .env or to the Database

Status

Settings removed:

configuration.php Comment
session_stored_in_db
root_web
$extAuthSource["cas"]
$extAuthSource["extldap"]
$_configuration['facebook_auth']
$extAuthSource["external_login"]
memcache_server
session_stored_after_n_times
aspell_bin
aspell_opts
aspell_temp_dir

Settings moved to .env

configuration.php v1 .env name v2
db_host DATABASE_HOST
db_port DATABASE_PORT
main_database DATABASE_NAME
db_user DATABASE_USER
db_password DATABASE_PASSWORD

Settings moved in the Database

configuration.php in v1 Setting in the database v2
default_template display.default_template
session_hide_tab_list session.hide_tab_list
lp_fixed_encoding lp.fixed_encoding
show_invisible_exercise_in_lp_list lp.show_invisible_exercise_in_lp_toc
force_edit_exercise_in_lp lp.allow_edit_exercise_in_lp
announcements_hide_send_to_hrm_users announcement.hide_send_to_hrm_users
hide_my_certificate_link certificate.hide_my_certificate_link
hide_header_footer_in_certificate certificate.hide_header_footer
Clone this wiki locally