From 849d5a25b696ccfb050cfb624a1f343836181178 Mon Sep 17 00:00:00 2001 From: manfromhuh Date: Fri, 15 Jul 2022 21:47:26 -0400 Subject: [PATCH] Add author pfp to list --- blog/authors/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/authors/index.php b/blog/authors/index.php index 7244688..2c2dba7 100644 --- a/blog/authors/index.php +++ b/blog/authors/index.php @@ -44,11 +44,11 @@ if (file_exists($dir) && is_dir($dir) ) { $link_title = str_replace('_',' ',$file);//Remove undersores and replace them with spaces $link_title = str_replace($_replace,'',$link_title); if (file_exists($file."/pfp.png")){ - $pfp_path = $file."/pfp.png"; + $pfp_path = "$file/pfp.png"; } else { $pfp_path = ""; } - echo("\n");//Output the result. + echo("\n");//Output the result. } } else { echo "";