mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
[ticket/16955] Update namespace for iterators to finder
PHPBB3-16955
This commit is contained in:
@@ -220,7 +220,7 @@ class acp_language
|
||||
{
|
||||
try
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
|
@@ -646,7 +646,7 @@ function phpbb_email_hash($email)
|
||||
*/
|
||||
function phpbb_load_extensions_autoloaders($phpbb_root_path)
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator(
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator(
|
||||
$phpbb_root_path . 'ext/',
|
||||
\RecursiveIteratorIterator::SELF_FIRST,
|
||||
\FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS
|
||||
|
Reference in New Issue
Block a user