aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/bin/phpbbcli.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-29 00:33:31 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:34 +0200
commit2db160ff87fa42ca6c47e580de9bc9d7e5cced49 (patch)
tree14aa95772848e1a813e338a33de8be45df401518 /phpBB/bin/phpbbcli.php
parent40937e21c58399a847d04f23423622b0e1894446 (diff)
downloadforums-2db160ff87fa42ca6c47e580de9bc9d7e5cced49.tar
forums-2db160ff87fa42ca6c47e580de9bc9d7e5cced49.tar.gz
forums-2db160ff87fa42ca6c47e580de9bc9d7e5cced49.tar.bz2
forums-2db160ff87fa42ca6c47e580de9bc9d7e5cced49.tar.xz
forums-2db160ff87fa42ca6c47e580de9bc9d7e5cced49.zip
[ticket/12775] Rename config_php to config_php_file
PHPBB3-12775
Diffstat (limited to 'phpBB/bin/phpbbcli.php')
-rwxr-xr-xphpBB/bin/phpbbcli.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php
index 9e9f1e27e6..858158ad74 100755
--- a/phpBB/bin/phpbbcli.php
+++ b/phpBB/bin/phpbbcli.php
@@ -27,8 +27,8 @@ require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
$phpbb_class_loader->register();
-$phpbb_config_php_handler = new \phpbb\config_php($phpbb_root_path, $phpEx);
-extract($phpbb_config_php_handler->get_all());
+$phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx);
+extract($phpbb_config_php_file->get_all());
require($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'includes/functions.' . $phpEx);
@@ -38,7 +38,7 @@ require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
$phpbb_class_loader_ext = new \phpbb\class_loader('\\', "{$phpbb_root_path}ext/", $phpEx);
$phpbb_class_loader_ext->register();
-$phpbb_container_builder = new \phpbb\di\container_factory($phpbb_config_php_handler, $phpbb_root_path, $phpEx);
+$phpbb_container_builder = new \phpbb\di\container_factory($phpbb_config_php_file, $phpbb_root_path, $phpEx);
$phpbb_container_builder->set_use_extensions(false);
$phpbb_container_builder->set_dump_container(false);