From d7c7f6438757105b925d93d77c3964b1c85d8639 Mon Sep 17 00:00:00 2001 From: Dom Robinson Date: Sat, 27 Jan 2018 14:25:15 +0000 Subject: [PATCH] closedir() expects parameter 1 to be resource I was repeatedly getting this error. I think the correct solution is in line 185: Changing '''php closedir($files_dir); ''' to '''php closedir($directory); ''' --- feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.php b/feed.php index 50a5cb0..36b40c0 100644 --- a/feed.php +++ b/feed.php @@ -182,7 +182,7 @@ } } - closedir($files_dir); + closedir($directory); ?>