diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-11-09 17:06:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-11-09 17:06:38 +0100 |
commit | 31e60f0c8d5e248bbf318cec410b27cff6dbee74 (patch) | |
tree | 46d91dfc1fb41acb2c9bca3cd1a7ae10aba53427 /phpBB/phpbb/di | |
parent | 7344024b107ef1d2e6b401861447958623e7d821 (diff) | |
download | forums-31e60f0c8d5e248bbf318cec410b27cff6dbee74.tar forums-31e60f0c8d5e248bbf318cec410b27cff6dbee74.tar.gz forums-31e60f0c8d5e248bbf318cec410b27cff6dbee74.tar.bz2 forums-31e60f0c8d5e248bbf318cec410b27cff6dbee74.tar.xz forums-31e60f0c8d5e248bbf318cec410b27cff6dbee74.zip |
[ticket/11949] Do not prepend leading backslash to cache class name
The container seems to prepend the leading \ itself, so we get an
InvalidArgumentException with message '"'\\phpbb\\cache\\driver\\file'" is
not a valid class name for the "cache.driver" service.'
PHPBB3-11949
Diffstat (limited to 'phpBB/phpbb/di')
-rw-r--r-- | phpBB/phpbb/di/extension/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/extension/config.php b/phpBB/phpbb/di/extension/config.php index 5fcb2d6f10..2603e7b358 100644 --- a/phpBB/phpbb/di/extension/config.php +++ b/phpBB/phpbb/di/extension/config.php @@ -70,7 +70,7 @@ class config extends Extension { if (preg_match('#^[a-z]+$#', $acm_type)) { - return '\\phpbb\cache\driver\\'.$acm_type; + return 'phpbb\\cache\\driver\\' . $acm_type; } return $acm_type; |