diff --git a/functions/article_functions.php b/functions/article_functions.php index 5667b82..3de1238 100644 --- a/functions/article_functions.php +++ b/functions/article_functions.php @@ -50,7 +50,7 @@ function article_page_from_markdown($article_id) $query = 'SELECT user_id, username, profile_picture FROM user WHERE user_id = ' . $article['author_id'] . ';'; $author = query_one_result($query); - $markdown = read_file_one_string($_ENV['ARTICLES_PATH'] . $article_id . '/article.md'); + $markdown = read_file_one_string($_ENV['ARTICLES_FQ_PATH'] . $article_id . '/article.md'); $parsedown = new Parsedown(); @@ -63,7 +63,7 @@ function article_page_from_markdown($article_id)
Published on ' . $article['published_at'] . '