From 27a28d4ffd0687b7e8a41ba2676c0f111a266072 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 1 Jun 2018 16:58:40 +0200 Subject: service/files: Add missing namespace for Recursive*Iterator Signed-off-by: Florian Pritz --- application/service/files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/service') 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()) { -- cgit v1.2.3-24-g4f1b