mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/12826] Add mandatory root namespace indicator to exception catching.
PHPBB3-12826
This commit is contained in:
parent
f474e33a43
commit
cc1a713fd8
1 changed files with 2 additions and 2 deletions
4
phpBB/phpbb/cache/driver/file.php
vendored
4
phpBB/phpbb/cache/driver/file.php
vendored
|
@ -208,7 +208,7 @@ class file extends \phpbb\cache\driver\base
|
||||||
{
|
{
|
||||||
$iterator = new \DirectoryIterator($this->cache_dir);
|
$iterator = new \DirectoryIterator($this->cache_dir);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (\Exception $e)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ class file extends \phpbb\cache\driver\base
|
||||||
{
|
{
|
||||||
$iterator = new \DirectoryIterator($dir);
|
$iterator = new \DirectoryIterator($dir);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (\Exception $e)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue