aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convert/convertor.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-23 22:48:58 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-24 09:15:34 +0100
commit56c2caf6c0778c0da48fe0ac688c893777b89ee4 (patch)
tree2ed7f9cf6a26d0ea7b3f7bac255c777e36754b7c /phpBB/install/convert/convertor.php
parenteca4726f3c2fda312b3150b7b252a300d4603fbe (diff)
downloadforums-56c2caf6c0778c0da48fe0ac688c893777b89ee4.tar
forums-56c2caf6c0778c0da48fe0ac688c893777b89ee4.tar.gz
forums-56c2caf6c0778c0da48fe0ac688c893777b89ee4.tar.bz2
forums-56c2caf6c0778c0da48fe0ac688c893777b89ee4.tar.xz
forums-56c2caf6c0778c0da48fe0ac688c893777b89ee4.zip
[ticket/14555] Uniformize cache directory usages
PHPBB3-14555
Diffstat (limited to 'phpBB/install/convert/convertor.php')
-rw-r--r--phpBB/install/convert/convertor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convert/convertor.php b/phpBB/install/convert/convertor.php
index 2dae356c26..769f8bb637 100644
--- a/phpBB/install/convert/convertor.php
+++ b/phpBB/install/convert/convertor.php
@@ -1044,7 +1044,7 @@ class convertor
OR config_name = 'convert_db_user'");
$db->sql_query('DELETE FROM ' . SESSIONS_TABLE);
- @unlink($phpbb_root_path . 'cache/data_global.' . $phpEx);
+ @unlink($phpbb_container->getParameter('core.cache_dir') . 'data_global.' . $phpEx);
phpbb_cache_moderators($db, $cache, $auth);
// And finally, add a note to the log