1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 06:38:43 +01:00

[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()
{
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;
}