Skip to content

Commit c815f36

Browse files
committed
Also import $settings from USU extension
1 parent 89618bc commit c815f36

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

event/listener.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,17 @@ public function __construct(\phpbb\config\config $config, \phpbb\path_helper $pa
5555
include(PHPBB_SEO_CACHE);
5656
}
5757

58-
// Support for the config.runtime.php format of the phpBB 3.1 extension
58+
// If you use "Ultimate phpBB SEO Friendly URL" extension, copy as is the content of "config.runtime.php"
59+
// in the file "<ext_path>/includes/phpbb_cache.php"
5960
if (!empty($forum_urls))
6061
{
6162
$this->cache_config['forum'] = $forum_urls;
6263
}
64+
65+
if (!empty($settings))
66+
{
67+
$this->cache_config['settings'] = $settings;
68+
}
6369
}
6470

6571
static public function getSubscribedEvents()

0 commit comments

Comments
 (0)