BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Update theme system loading to only be loaded once

Open ssddanbrown opened this issue 1 year ago • 0 comments

Or at least work with certain artisan commands like config caching. For some reason that seems to be calling our functions.php loading twice, which throws error when functions are in the logical theme file, since it'll attempt to re-define them. Maybe check this is odd behaviour on the Laravel side, and not us. Otherwise, check if using require_once would have issues.

Related to #5121

ssddanbrown avatar Jul 17 '24 09:07 ssddanbrown