mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/12631] Solve rebase issues
PHPBB3-12631
This commit is contained in:
parent
d31e986815
commit
0312aaa6dc
4 changed files with 4 additions and 2 deletions
|
@ -64,6 +64,8 @@ class container_configuration implements ConfigurationInterface
|
||||||
->children()
|
->children()
|
||||||
->booleanNode('force_sid')->defaultValue(false)->end()
|
->booleanNode('force_sid')->defaultValue(false)->end()
|
||||||
->booleanNode('log_errors')->defaultValue(false)->end()
|
->booleanNode('log_errors')->defaultValue(false)->end()
|
||||||
|
->end()
|
||||||
|
->end()
|
||||||
->arrayNode('finder')
|
->arrayNode('finder')
|
||||||
->addDefaultsIfNotSet()
|
->addDefaultsIfNotSet()
|
||||||
->children()
|
->children()
|
||||||
|
|
|
@ -117,6 +117,7 @@ class core extends Extension
|
||||||
foreach ($config['session'] as $name => $value)
|
foreach ($config['session'] as $name => $value)
|
||||||
{
|
{
|
||||||
$container->setParameter('session.' . $name, $value);
|
$container->setParameter('session.' . $name, $value);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the finder options
|
// Set the finder options
|
||||||
foreach ($config['finder'] as $name => $value)
|
foreach ($config['finder'] as $name => $value)
|
||||||
|
|
|
@ -27,7 +27,7 @@ class factory
|
||||||
* Creates a new finder instance with its dependencies
|
* Creates a new finder instance with its dependencies
|
||||||
*
|
*
|
||||||
* @param \phpbb\cache\service $cache A cache instance or null
|
* @param \phpbb\cache\service $cache A cache instance or null
|
||||||
* @param bool $not_use_cache Use cache or not
|
* @param bool $use_cache Use cache or not
|
||||||
* @param string $phpbb_root_path Path to the phpbb root directory
|
* @param string $phpbb_root_path Path to the phpbb root directory
|
||||||
* @param string $php_ext php file extension
|
* @param string $php_ext php file extension
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -23,7 +23,6 @@ class phpbb_mock_container_builder implements ContainerInterface
|
||||||
$this->setParameter('debug.load_time', false);
|
$this->setParameter('debug.load_time', false);
|
||||||
$this->setParameter('session.log_errors', false);
|
$this->setParameter('session.log_errors', false);
|
||||||
$this->setParameter('session.force_sid', true);
|
$this->setParameter('session.force_sid', true);
|
||||||
$this->setParameter('finder.not_use_cache', false);
|
|
||||||
$this->setParameter('finder.cache', false);
|
$this->setParameter('finder.cache', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue