Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted November 26, 2019 Posted November 26, 2019 Everytime I update (since 4.4.6) it resets the default_theme on init.php: // Default theme ID // It isn't really possible to change this but we have it defined as a constant rather // than putting "1" everywhere in the code just in case. If you deleted theme ID 1 and attempt to // build a custom application as a developer, you may need to override this value to specify a new // default/unmodified theme. 'DEFAULT_THEME_ID' => 1, I'm already on theme ID 44 due to that and I have to edit it everytime I update the board.
Ryan Ashbrook Posted November 26, 2019 Posted November 26, 2019 You should be using constants.php to set that value, not editing init.php directly. init.php is especially important to be updated because it regenerates a few keys to allow caches to clear without requiring the user to do anything.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.