aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/core.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-09-06 20:35:18 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-09-06 20:35:54 -0400
commit3a6b3d7c2b38b244d5c725ce1c7829328dae770f (patch)
treea05c248c1f3e99ad2ebbfb16f12427f059cd6e9e /phpBB/phpbb/di/extension/core.php
parentd5808f13e5fa70ecc802c2a5a11c3143746c93f0 (diff)
parent8d6b03c438392cebed941491684ff835bf7136a8 (diff)
downloadforums-3a6b3d7c2b38b244d5c725ce1c7829328dae770f.tar
forums-3a6b3d7c2b38b244d5c725ce1c7829328dae770f.tar.gz
forums-3a6b3d7c2b38b244d5c725ce1c7829328dae770f.tar.bz2
forums-3a6b3d7c2b38b244d5c725ce1c7829328dae770f.tar.xz
forums-3a6b3d7c2b38b244d5c725ce1c7829328dae770f.zip
[feature/oauth] Merge branch 'develop' of git://github.com/phpbb/phpbb3 into feature/oauth
Conflicts: phpBB/composer.json phpBB/composer.lock phpBB/develop/create_schema_files.php phpBB/includes/ucp/ucp_register.php PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/di/extension/core.php')
-rw-r--r--phpBB/phpbb/di/extension/core.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/phpbb/di/extension/core.php b/phpBB/phpbb/di/extension/core.php
index 9c36ba2fc4..9d59a24b7e 100644
--- a/phpBB/phpbb/di/extension/core.php
+++ b/phpBB/phpbb/di/extension/core.php
@@ -26,19 +26,19 @@ use Symfony\Component\Config\FileLocator;
class phpbb_di_extension_core extends Extension
{
/**
- * phpBB Root path
+ * Config path
* @var string
*/
- protected $root_path;
+ protected $config_path;
/**
* Constructor
*
- * @param string $root_path Root path
+ * @param string $config_path Config path
*/
- public function __construct($root_path)
+ public function __construct($config_path)
{
- $this->root_path = $root_path;
+ $this->config_path = $config_path;
}
/**
@@ -51,7 +51,7 @@ class phpbb_di_extension_core extends Extension
*/
public function load(array $config, ContainerBuilder $container)
{
- $loader = new YamlFileLoader($container, new FileLocator(phpbb_realpath($this->root_path . 'config')));
+ $loader = new YamlFileLoader($container, new FileLocator(phpbb_realpath($this->config_path)));
$loader->load('services.yml');
}