contao/core — Issue #3726: Need a backendconfig.php file
Author: DyaGa
Created: 2011-12-25 16:12:33+00:00
State: open

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:

1. localconfig.php - loading always
2. dcaconfig.php - loading only if DCA container is needed
3. langconfig.php - loading when language is needed

So, there is no config file that can be loaded always in Backend.

Example.
I want to hide _Task manager_ link in left navigation block. I put next code in `dcaconfig.php`:

```php
unset($GLOBALS['BE_MOD']['profile']['tasks']);
```

But, 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.