1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/12826] Add mandatory root namespace indicator to exception catching.

PHPBB3-12826
This commit is contained in:
Andreas Fischer
2014-08-07 14:24:38 +02:00
parent f474e33a43
commit cc1a713fd8

View File

@@ -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;
} }