From 62233e932be537d4db33127a66e0abc17223c7f2 Mon Sep 17 00:00:00 2001
From: Evan Pratten <ewpratten@gmail.com>
Date: Sun, 10 Sep 2017 12:14:01 -0400
Subject: [PATCH] Update index.php

---
 community/index.php | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/community/index.php b/community/index.php
index ae3cd8c..958dd61 100644
--- a/community/index.php
+++ b/community/index.php
@@ -62,16 +62,7 @@
 		<div class="rantlist-bg">
 	    <ul class="rantlist">
 				<?php
-				$path = "./content/";
-
-				if ($handle = opendir($path)) {
-  				 while (false !== ($file = readdir($handle))) {
-				        if ('.' === $file) continue;
-				        if ('..' === $file) continue;
-
-				        // do something with the file
-				    
-				$url = $file;
+				$url = './content/test.json';
 				$content = file_get_contents($url);
 				$json = json_decode($content, true);
 				echo '<li class="rant-comment-row-widget" data-id="829770" data-type="rant"><div class="rantlist-title-text">';
@@ -81,10 +72,7 @@
 				echo ' src="';
 				echo $json{src}; echo '" href="';
 				echo $json{href};
-				echo '" width=100%></ul></div>';
-  				 }
-				    closedir($handle);
-				}
+				echo '" width=100%></ul></div>'
 				?>