Added option to config on update
This commit is contained in:
parent
fc8a18f0d7
commit
bce7a57459
|
@ -10,6 +10,9 @@
|
||||||
if(EnvEditor::keyExists('CUSTOM_META_TAGS')){ /* Do nothing if key already exists */
|
if(EnvEditor::keyExists('CUSTOM_META_TAGS')){ /* Do nothing if key already exists */
|
||||||
} else {EnvEditor::addKey('CUSTOM_META_TAGS', 'false');}
|
} else {EnvEditor::addKey('CUSTOM_META_TAGS', 'false');}
|
||||||
|
|
||||||
|
if(EnvEditor::keyExists('MAINTENANCE_MODE')){ /* Do nothing if key already exists */
|
||||||
|
} else {EnvEditor::addKey('MAINTENANCE_MODE', 'false');}
|
||||||
|
|
||||||
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
|
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
|
||||||
|
|
||||||
function getStringBetween($string, $start, $end) {
|
function getStringBetween($string, $start, $end) {
|
||||||
|
|
Loading…
Reference in New Issue