aboutsummaryrefslogtreecommitdiff
path: root/includes/blog
diff options
context:
space:
mode:
Diffstat (limited to 'includes/blog')
-rw-r--r--includes/blog/home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/blog/home.php b/includes/blog/home.php
index 287ff64..aaf3187 100644
--- a/includes/blog/home.php
+++ b/includes/blog/home.php
@@ -10,7 +10,7 @@
<?php if ($i <= 3 && strpos($article, "@") !== false && strpos($article, ".html") === false && file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . substr($article, 0, -5) . ".json.md")): ?>
<?php
$data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $article), true);
- if (l("a", "b") === "b" && file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $article . ".fr.html")) {
+ if (l("a", "b") === "b" && file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $article . ".fr.md")) {
$data['html'] = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $article . ".fr.md");
} else {
$data['html'] = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $article . ".md");