mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15289] Use config global
PHPBB3-15289
This commit is contained in:
parent
5be42739dc
commit
fdb75ed443
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue