{% trans %}Step{% endtrans %} {{ current_step }}: {% trans %}Create configuration file{% endtrans %}

{% if config_file_created %}

{% trans %}The installer was able to write to the file{% endtrans %} {{ local_config_file }}. {% trans %}A basic configuration, based on the details you have given, has been created.{% endtrans %}

{% else %}

{% trans %}The installer is unable to write to the file{% endtrans %} {{ local_config_file }} {% trans %}(which is in itself good). The configuration is printed here. You should now create the file {% endtrans %} {{ local_config_file }} {% trans %} in the Poweradmin root directory yourself. It should contain the following few lines:{% endtrans %}

<?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 }}';

$ignore_install_dir = true;
{% endif %}