aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/file.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-08-07 14:24:38 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-08-07 14:24:38 +0200
commitcc1a713fd832de70aafd8a580bc650caf5237ca4 (patch)
tree3f6649c11b11e561db4446167c512c0a2ba9fa6a /phpBB/phpbb/cache/driver/file.php
parentf474e33a430176fd7ef809141b258eec77993e03 (diff)
downloadforums-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.php4
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;
}