mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12775] Fix comments
PHPBB3-12775
This commit is contained in:
parent
15c23e60b8
commit
98e8be966b
2 changed files with 1 additions and 2 deletions
|
@ -273,7 +273,6 @@ class container_builder
|
||||||
*/
|
*/
|
||||||
protected function dump_container($container_filename)
|
protected function dump_container($container_filename)
|
||||||
{
|
{
|
||||||
// Lastly, we create our cached container class
|
|
||||||
$dumper = new PhpDumper($this->container);
|
$dumper = new PhpDumper($this->container);
|
||||||
$cached_container_dump = $dumper->dump(array(
|
$cached_container_dump = $dumper->dump(array(
|
||||||
'class' => 'phpbb_cache_container',
|
'class' => 'phpbb_cache_container',
|
||||||
|
|
|
@ -39,7 +39,7 @@ class config extends Extension
|
||||||
*/
|
*/
|
||||||
public function load(array $config, ContainerBuilder $container)
|
public function load(array $config, ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
$container->setParameter('core.adm_relative_path', (isset($phpbb_adm_relative_path) ? $phpbb_adm_relative_path : 'adm/'));
|
$container->setParameter('core.adm_relative_path', ($this->config_php->get('phpbb_adm_relative_path') ? $this->config_php->get('phpbb_adm_relative_path') : 'adm/'));
|
||||||
$container->setParameter('core.table_prefix', $this->config_php->get('table_prefix'));
|
$container->setParameter('core.table_prefix', $this->config_php->get('table_prefix'));
|
||||||
$container->setParameter('cache.driver.class', $this->convert_30_acm_type($this->config_php->get('acm_type')));
|
$container->setParameter('cache.driver.class', $this->convert_30_acm_type($this->config_php->get('acm_type')));
|
||||||
$container->setParameter('dbal.driver.class', phpbb_convert_30_dbms_to_31($this->config_php->get('dbms')));
|
$container->setParameter('dbal.driver.class', phpbb_convert_30_dbms_to_31($this->config_php->get('dbms')));
|
||||||
|
|
Loading…
Add table
Reference in a new issue