Update file journal.php
This commit is contained in:
parent
b85d69b689
commit
506a2224a8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user