aboutsummaryrefslogtreecommitdiff
path: root/includes/blog/home.php
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-08 13:01:42 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-08 13:01:42 +0200
commit7d4ff383c930d25006698179169e2d2ce14d6338 (patch)
tree59dfef06cccebe13ffc5ca57711a5d776f4f51b9 /includes/blog/home.php
parent95112b1eb06a4be531ded59563d53a63a8d614e8 (diff)
downloadmain-7d4ff383c930d25006698179169e2d2ce14d6338.tar.gz
main-7d4ff383c930d25006698179169e2d2ce14d6338.tar.bz2
main-7d4ff383c930d25006698179169e2d2ce14d6338.zip
Quick fixes
Diffstat (limited to 'includes/blog/home.php')
-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");