mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 03:36:31 +02:00
Merge pull request #1862 from nickvergessen/ticket/11949
[ticket/11949] Do not prepend leading backslash to cache class name
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user