Update file journal.php

This commit is contained in:
Jan BELLON 2024-03-07 02:43:55 +00:00
parent b85d69b689
commit 506a2224a8

View File

@ -45,8 +45,8 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
<div>
<div>
<?php
if ($article != "" && file_exists('../content/journal/' . $article . '.md')) {
$markdownContent = file_get_contents('../content/journal/' . $article . '.md');
if ($article != "" && file_exists('/var/www/e59/content/journal/' . $article . '.md')) {
$markdownContent = file_get_contents('/var/www/e59/content/journal/' . $article . '.md');
require_once '../include/parsedown.php';
$parsedown = new Parsedown();