mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
Merge pull request #4367 from rxu/ticket/14690
[ticket/14690] Create email queue cache file in the current env cache folder
This commit is contained in:
commit
963a03b120
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue