1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12631] Add finder.not_use_cache

PHPBB3-12631
This commit is contained in:
Rubén Calvo
2018-09-01 01:32:22 +02:00
committed by Marc Alexander
parent 38024d14bf
commit 9308764fae
22 changed files with 136 additions and 42 deletions

View File

@@ -12,6 +12,7 @@ imports:
- { resource: services_feed.yml }
- { resource: services_files.yml }
- { resource: services_filesystem.yml }
- { resource: services_finder.yml }
- { resource: services_help.yml }
- { resource: services_http.yml }
- { resource: services_language.yml }

View File

@@ -5,9 +5,9 @@ services:
- '@service_container'
- '@dbal.conn'
- '@config'
- '@finder.factory'
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'
- '@cache'
ext.composer.installer:

View File

@@ -0,0 +1,8 @@
services:
finder.factory:
class: phpbb\finder\factory
arguments:
- '@cache'
- '%finder.not_use_cache%'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -25,3 +25,6 @@ core:
session:
log_errors: true
finder:
not_use_cache: true

View File

@@ -8,6 +8,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
- '%tables%'
- '%finder.not_use_cache%'
tags:
- { name: install_database_install, order: 1 }