summaryrefslogtreecommitdiffstats
path: root/application/service
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-06-01 16:58:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-06-01 16:58:40 +0200
commit27a28d4ffd0687b7e8a41ba2676c0f111a266072 (patch)
tree9eaa3f743083f455c05342e31f2eb452277c40c2 /application/service
parent278fe7d565325c2bac6ef933722d6017ebe57bec (diff)
service/files: Add missing namespace for Recursive*Iterator
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service')
-rw-r--r--application/service/files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/service/files.php b/application/service/files.php
index 062d17bf8..3cdb1ff22 100644
--- a/application/service/files.php
+++ b/application/service/files.php
@@ -457,8 +457,8 @@ class files {
$tarball_dir = $CI->config->item("upload_path")."/special/multipaste-tarballs";
if (is_dir($tarball_dir)) {
$tarball_cache_time = $CI->config->item("tarball_cache_time");
- $it = new RecursiveIteratorIterator(
- new RecursiveDirectoryIterator($tarball_dir), RecursiveIteratorIterator::SELF_FIRST);
+ $it = new \RecursiveIteratorIterator(
+ new \RecursiveDirectoryIterator($tarball_dir), \RecursiveIteratorIterator::SELF_FIRST);
foreach ($it as $file) {
if ($file->isFile()) {