[ticket/14690] Create email queue cache file in the current env cache folder

PHPBB3-14690
This commit is contained in:
rxu 2016-06-23 01:20:45 +07:00
parent 597e7163c0
commit 1a0e40489f

View file

@ -687,10 +687,10 @@ class queue
*/ */
function queue() function queue()
{ {
global $phpEx, $phpbb_root_path, $phpbb_filesystem; global $phpEx, $phpbb_root_path, $phpbb_filesystem, $phpbb_container;
$this->data = array(); $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; $this->filesystem = $phpbb_filesystem;
} }