aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/config.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-25 07:50:22 -0700
committerNils Adermann <naderman@naderman.de>2013-09-25 07:50:22 -0700
commit8da31332381b572f8d03c63d4c32a4f32ed8775f (patch)
tree1ef729ea3700bae463cd57b672e8de12311fe00d /phpBB/phpbb/di/extension/config.php
parent717e2337b9276d9f9680110dff552ea536d0723c (diff)
parent645bd127dd53300b7877b779226ac53a4891620c (diff)
downloadforums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.gz
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.bz2
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.xz
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.zip
Merge pull request #1565 from naderman/ticket/11700
[WIP][ticket/11700] Namespaces
Diffstat (limited to 'phpBB/phpbb/di/extension/config.php')
-rw-r--r--phpBB/phpbb/di/extension/config.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/di/extension/config.php b/phpBB/phpbb/di/extension/config.php
index 6c272a6588..85b374a3ca 100644
--- a/phpBB/phpbb/di/extension/config.php
+++ b/phpBB/phpbb/di/extension/config.php
@@ -7,6 +7,8 @@
*
*/
+namespace phpbb\di\extension;
+
/**
* @ignore
*/
@@ -23,7 +25,7 @@ use Symfony\Component\Config\FileLocator;
/**
* Container config extension
*/
-class phpbb_di_extension_config extends Extension
+class config extends Extension
{
public function __construct($config_file)
{
@@ -76,7 +78,7 @@ class phpbb_di_extension_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;