[Typo3-dev] Show name of database at login

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Nov 4 11:42:01 CET 2005


David Bruehlmeier schrieb:
> Hi,
> 
> On my development machine, I am working with different TYPO3-databases, 
> but on the same installation. I'm not sure if this is uncommon, but I 
> find it handy because it permits me to have 'development' and a 'test' 
> database, using the same codebase.
> 
> Doing so, I sometimes run into the problem that I do not know which 
> database I am currently connecting to when loggin into TYPO3. To solve 
> this, I propose a new parameter: 
> TYPO3_CONF_VARS['BE']['showDatabaseAtLogin']. This parameter is by 
> default set to 0, so nothing changes. If set to 1 however, the name of 
> the database is displayed on the login screen, just above the username.

Do you really need the info so prominently placed? How about just adding 
the info to BE welcome screens for admins? Then you wouldn't need any 
extra config vars.

But what happens when you use DBAL? There's a lot of DB config possible, 
so you don't have just one DB.

Masi




More information about the TYPO3-dev mailing list