aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-08-03 19:29:42 +0200
committerRubén Calvo <rubencm@gmail.com>2017-09-08 16:22:10 +0200
commitfdb75ed4437620df6a30e79b2920e18c79201edc (patch)
tree7d3e1572e148de89d4660ecc8f4afaa03a37282a
parent[ticket/15289] Fix radio buttons (diff)
downloadphpbb-fdb75ed4437620df6a30e79b2920e18c79201edc.tar.gz
phpbb-fdb75ed4437620df6a30e79b2920e18c79201edc.tar.bz2
phpbb-fdb75ed4437620df6a30e79b2920e18c79201edc.zip
[ticket/15289] Use config global
PHPBB3-15289
-rw-r--r--phpBB/adm/style/acp_storage.html2
-rw-r--r--phpBB/includes/acp/acp_storage.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/adm/style/acp_storage.html b/phpBB/adm/style/acp_storage.html
index 5ae39cea48..7597d338eb 100644
--- a/phpBB/adm/style/acp_storage.html
+++ b/phpBB/adm/style/acp_storage.html
@@ -36,7 +36,7 @@
<dd>
{% set input_type = options['type'] %}
{% 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
input_type == 'text' or
diff --git a/phpBB/includes/acp/acp_storage.php b/phpBB/includes/acp/acp_storage.php
index a7a205d5ef..5077e87241 100644
--- a/phpBB/includes/acp/acp_storage.php
+++ b/phpBB/includes/acp/acp_storage.php
@@ -155,7 +155,6 @@ class acp_storage
$this->template->assign_vars(array(
'STORAGES' => $this->storage_collection,
'PROVIDERS' => $this->provider_collection,
- 'CONFIG' => $this->config
));
}
}