{% if config_file_created %}
{% trans 'The installer was able to write to the file "' %} {{ local_config_file }} . {% trans '". A basic configuration, based on the details you have given, has been created.' %}
{% else %}{% trans 'The installer is unable to write to the file "' %} {{ local_config_file }} {% trans '" (which is in itself good). The configuration is printed here. You should now create the file "' %} {{ local_config_file }} {% trans '" in the Poweradmin root directory yourself. It should contain the following few lines:' %}
<?php
{% if db_file %}
$db_file = '{{ db_name }}';
{% else %}
$db_host = '{{ db_host }}';
$db_name = '{{ db_name }}';
{% endif %}
$db_user = '{{ db_user }}';
$db_pass = '{{ db_pass }}';
{% if db_port %}
$db_port = '{{ db_port }}';
{% endif %}
$db_type = '{{ db_type }}';
{% if db_charset %}
$db_charset = '{{ db_charset }}';
{% endif %}
$session_key = '{{ session_key }}';
$iface_lang = '{{ language }}';
$dns_hostmaster = '{{ dns_hostmaster }}';
$dns_ns1 = '{{ dns_ns1 }}';
$dns_ns2 = '{{ dns_ns2 }}';
{% endif %}