File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
resources/views/components Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 2525 if (EnvEditor:: keyExists (' USE_THEME_PREVIEW_IFRAME' )){ /* Do nothing if key already exists */
2626 } else {EnvEditor:: addKey (' USE_THEME_PREVIEW_IFRAME' , ' true' );}
2727
28- if (trim (file_get_contents (base_path (" version.json" ))) >= ' 2.9.1' and trim (file_get_contents (base_path (" version.json" ))) <= ' 3.0.0' ){
29- Schema:: disableForeignKeyConstraints ();
30- Artisan:: call (' migrate' );
31- Schema:: enableForeignKeyConstraints ();
32- }
3328
34- if (trim (file_get_contents (base_path (" version.json" ))) >= ' 2.9.1' and trim (file_get_contents (base_path (" version.json" ))) <= ' 3.0.0' ){
35- if (EnvEditor:: keyExists (' ALLOW_USER_HTML' )){EnvEditor:: editKey (' ALLOW_USER_HTML' , ' true' );}
36- }
29+ // Adds database entries
30+ Schema:: disableForeignKeyConstraints ();
31+ Artisan:: call (' migrate' );
32+ Schema:: enableForeignKeyConstraints ();
3733
3834 if (! config ()-> has (' advanced-config.expand_panel_admin_menu_permanently' ) and ! config ()-> has (' disable_default_password_notice' )) {
3935
You can’t perform that action at this time.
0 commit comments