I just modify a little bit the first page with this logic :
index.html will redirect to index.php
index.php will check if we use amp_conf[‘AUTHTYPE’] == “database” in this case will present a login page. The language of this page is defined in a variable set in the asterisk.admin table. This code will set the cookie for language selection.
or amp_conf[‘AUTHTYPE’] == “none” in this case will be redirect directly to admin/config.php
I did a little change to header_auth.php to be based on the previous configuration.
If someone is interested I will send the code.