25 lines
1.2 KiB
Django/Jinja
25 lines
1.2 KiB
Django/Jinja
<?php
|
|
/* Servers configuration */
|
|
{% for server in phpmyadmin_target_servers %}
|
|
/* Server: {{ server.description }} [{{ server.id }}] */
|
|
$cfg['Servers'][{{ server.id }}]['verbose'] = '{{ server.description }}';
|
|
$cfg['Servers'][{{ server.id }}]['host'] = '{{ server.host }}';
|
|
$cfg['Servers'][{{ server.id }}]['port'] = {{ server.port }};
|
|
$cfg['Servers'][{{ server.id }}]['socket'] = '{{ server.socket }}';
|
|
$cfg['Servers'][{{ server.id }}]['ssl'] = {{ server.ssl }};
|
|
$cfg['Servers'][{{ server.id }}]['auth_type'] = '{{ server.auth_type }}';
|
|
$cfg['Servers'][{{ server.id }}]['user'] = '{{ server.user }}';
|
|
$cfg['Servers'][{{ server.id }}]['password'] = '{{ server.password }}';
|
|
$cfg['Servers'][{{ server.id }}]['only_db'] = array({{ server.only_db }});
|
|
$cfg['Servers'][{{ server.id }}]['AllowRoot'] = {{ server.allowroot }};
|
|
|
|
{% endfor %}
|
|
/* End of servers configuration */
|
|
|
|
$cfg['blowfish_secret'] = "{{ phpmyadmin_blowfish_secret }}";
|
|
$cfg['DefaultLang'] = '{{ phpmyadmin_default_lang }}';
|
|
$cfg['ServerDefault'] = 1;
|
|
$cfg['UploadDir'] = '{{ phpmyadmin_install_dir }}/upload';
|
|
$cfg['SaveDir'] = '{{ phpmyadmin_install_dir}}/download';
|
|
$cfg['TempDir'] = '{{ phpmyadmin_install_dir}}/tmp';
|
|
?> |