winter icon indicating copy to clipboard operation
winter copied to clipboard

Config::registerNamespaceAlias() doesn't seem to be working as intended

Open LukeTowers opened this issue 1 year ago • 0 comments

Winter CMS Build

dev-develop

PHP Version

8.1

Database engine

MySQL/MariaDB

Plugins installed

Winter.Debugbar

Issue description

// Provide the winter.debugbar config under the debugbar namespace
Config::registerNamespaceAlias('winter.debugbar', 'debugbar');

Should be the same as

Config::set('debugbar', Config::get('winter.debugbar::config'));

but it doesn't seem to work.

Steps to replicate

Install winter.debugbar (using the Config::registerNamespaceAlias() method) and try to edit the configured collectors

Workaround

No response

LukeTowers avatar Dec 03 '24 12:12 LukeTowers