diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-08-07 14:24:38 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-08-07 14:24:38 +0200 |
commit | cc1a713fd832de70aafd8a580bc650caf5237ca4 (patch) | |
tree | 3f6649c11b11e561db4446167c512c0a2ba9fa6a /phpBB/phpbb/cache/driver/file.php | |
parent | f474e33a430176fd7ef809141b258eec77993e03 (diff) | |
download | forums-cc1a713fd832de70aafd8a580bc650caf5237ca4.tar forums-cc1a713fd832de70aafd8a580bc650caf5237ca4.tar.gz forums-cc1a713fd832de70aafd8a580bc650caf5237ca4.tar.bz2 forums-cc1a713fd832de70aafd8a580bc650caf5237ca4.tar.xz forums-cc1a713fd832de70aafd8a580bc650caf5237ca4.zip |
[ticket/12826] Add mandatory root namespace indicator to exception catching.
PHPBB3-12826
Diffstat (limited to 'phpBB/phpbb/cache/driver/file.php')
-rw-r--r-- | phpBB/phpbb/cache/driver/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/cache/driver/file.php b/phpBB/phpbb/cache/driver/file.php index b32af32d25..2d538b739c 100644 --- a/phpBB/phpbb/cache/driver/file.php +++ b/phpBB/phpbb/cache/driver/file.php @@ -208,7 +208,7 @@ class file extends \phpbb\cache\driver\base { $iterator = new \DirectoryIterator($this->cache_dir); } - catch (Exception $e) + catch (\Exception $e) { return; } @@ -259,7 +259,7 @@ class file extends \phpbb\cache\driver\base { $iterator = new \DirectoryIterator($dir); } - catch (Exception $e) + catch (\Exception $e) { return; } |