November 26, 2019 in Developer Connection
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.
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.
This topic is now archived and is closed to further replies.
Started 2 hours ago
Leon de Graaff
Started 13 hours ago
Started 16 hours ago