diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-09-26 15:34:44 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-09-26 15:34:44 +0200 |
commit | 7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e (patch) | |
tree | 9a7cf0bb2f985be79c51d4d0a1743a90b5532404 /phpBB/install/index.php | |
parent | e8303bc3199081d1f9f0679d3b98298ccdc49deb (diff) | |
download | forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.gz forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.bz2 forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.xz forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.zip |
[ticket/11852] Split filesystem and path_helper into 2 classes
PHPBB3-11852
Diffstat (limited to 'phpBB/install/index.php')
-rw-r--r-- | phpBB/install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 2a3bb36bf6..161dc78173 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -244,8 +244,8 @@ $config = new \phpbb\config\config(array( 'load_tplcompile' => '1' )); -$phpbb_filesystem = $phpbb_container->get('filesystem'); -$template = new \phpbb\template\twig\twig($phpbb_filesystem, $config, $user, new \phpbb\template\context()); +$phpbb_path_helper = $phpbb_container->get('path_helper'); +$template = new \phpbb\template\twig\twig($phpbb_path_helper, $config, $user, new \phpbb\template\context()); $paths = array($phpbb_root_path . 'install/update/new/adm/style', $phpbb_admin_path . 'style'); $paths = array_filter($paths, 'is_dir'); $template->set_custom_style('adm', $paths); |