[ticket/15289] Use config global

PHPBB3-15289
This commit is contained in:
Rubén Calvo 2017-08-03 19:29:42 +02:00
parent 5be42739dc
commit fdb75ed443
2 changed files with 1 additions and 2 deletions

View file

@ -36,7 +36,7 @@
<dd> <dd>
{% set input_type = options['type'] %} {% set input_type = options['type'] %}
{% set input_name = storage.get_name ~ '[' ~ name ~ ']' %} {% set input_name = storage.get_name ~ '[' ~ name ~ ']' %}
{% set input_value = attribute(CONFIG, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %} {% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %}
{% if {% if
input_type == 'text' or input_type == 'text' or

View file

@ -155,7 +155,6 @@ class acp_storage
$this->template->assign_vars(array( $this->template->assign_vars(array(
'STORAGES' => $this->storage_collection, 'STORAGES' => $this->storage_collection,
'PROVIDERS' => $this->provider_collection, 'PROVIDERS' => $this->provider_collection,
'CONFIG' => $this->config
)); ));
} }
} }