Fix CHANGELOG-1.x.md loading

This commit is contained in:
slawkens 2025-05-23 09:13:20 +02:00
parent 4d8f5f31ae
commit 4a30fb495d

View File

@ -11,12 +11,12 @@
defined('MYAAC') or die('Direct access not allowed!'); defined('MYAAC') or die('Direct access not allowed!');
$title = 'MyAAC Changelog'; $title = 'MyAAC Changelog';
if (!file_exists(BASE . 'CHANGELOG.md')) { if (!file_exists(BASE . 'CHANGELOG-1.x.md')) {
echo 'File CHANGELOG.md doesn\'t exist.'; echo 'File CHANGELOG.md doesn\'t exist.';
return; return;
} }
$changelog = file_get_contents(BASE . 'CHANGELOG.md'); $changelog = file_get_contents(BASE . 'CHANGELOG-1.x.md');
$Parsedown = new Parsedown(); $Parsedown = new Parsedown();