{"issue":{"title":"Need a backendconfig.php file","user":{"login":"DyaGa","id":101594,"url":"https://api.github.com/users/DyaGa","avatar_url":"https://secure.gravatar.com/avatar/56363b19ed04093f57e11651921c7476?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"56363b19ed04093f57e11651921c7476"},"created_at":"2011-12-25T16:12:33Z","milestone":null,"labels":[],"state":"closed","updated_at":"2011-12-27T17:30:39Z","id":2655374,"closed_at":"2011-12-27T17:30:39Z","html_url":"https://github.com/contao/core/issues/3726","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"According to [How to customize the Contao configuration](http://www.contao.org/custom-configurations.html) article there are 3 config files that can be changed by developer exists:\r\n\r\n1. localconfig.php - loading always\r\n2. dcaconfig.php - loading only if DCA container is needed\r\n3. langconfig.php - loading when language is needed\r\n\r\nSo, there is no config file that can be loaded always in Backend.\r\n\r\nExample. \r\nI want to hide _Task manager_ link in left navigation block. I put next code in `dcaconfig.php`:\r\n\r\n```php\r\nunset($GLOBALS['BE_MOD']['profile']['tasks']);\r\n```\r\n\r\nBut, it doesn't work on all backend pages because DCA container doesn't always needed in backend, so `dcaconfig.php` file will not be loaded. For example, if to click on _Maintenance_ or just open _Home_ page (http://demo.contao.org/contao/main.php) _Task center_ will be shown, but we need to hide it.","number":3726,"url":"https://api.github.com/repos/contao/core/issues/3726","comments":9,"assignee":null},"action":"closed"}