aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2016-06-23 01:20:45 +0700
committerrxu <rxu@mail.ru>2016-06-23 01:20:45 +0700
commit1a0e40489feeff2478cde98be31fee4f4578e9f7 (patch)
tree462004b25ff66782d899242e360744c805455ba3 /phpBB/includes/functions_messenger.php
parent597e7163c0a67ab225d77e7ba58912e361d85b20 (diff)
downloadforums-1a0e40489feeff2478cde98be31fee4f4578e9f7.tar
forums-1a0e40489feeff2478cde98be31fee4f4578e9f7.tar.gz
forums-1a0e40489feeff2478cde98be31fee4f4578e9f7.tar.bz2
forums-1a0e40489feeff2478cde98be31fee4f4578e9f7.tar.xz
forums-1a0e40489feeff2478cde98be31fee4f4578e9f7.zip
[ticket/14690] Create email queue cache file in the current env cache folder
PHPBB3-14690
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 10d4910494..fa9ed84a34 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -687,10 +687,10 @@ class queue
*/
function queue()
{
- global $phpEx, $phpbb_root_path, $phpbb_filesystem;
+ global $phpEx, $phpbb_root_path, $phpbb_filesystem, $phpbb_container;
$this->data = array();
- $this->cache_file = "{$phpbb_root_path}cache/queue.$phpEx";
+ $this->cache_file = $phpbb_container->getParameter('core.cache_dir') . "queue.$phpEx";
$this->filesystem = $phpbb_filesystem;
}