Jump to content

Why new versions are resetting default_theme on init.php?

Featured Replies

Posted

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.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.