Require Parsedown class through composer

This commit is contained in:
slawkens 2021-05-01 08:54:46 +02:00
parent 780f8d193f
commit f9302d4f9d
3 changed files with 2 additions and 1997 deletions

View File

@ -10,6 +10,7 @@
"ext-zip": "*", "ext-zip": "*",
"phpmailer/phpmailer": "^6.1", "phpmailer/phpmailer": "^6.1",
"composer/semver": "^3.2", "composer/semver": "^3.2",
"twig/twig": "~1.42.5" "twig/twig": "~1.42.5",
"erusev/parsedown": "^1.7"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,6 @@ if (!file_exists(BASE . 'CHANGELOG.md')) {
return; return;
} }
require LIBS . 'Parsedown.php';
$changelog = file_get_contents(BASE . 'CHANGELOG.md'); $changelog = file_get_contents(BASE . 'CHANGELOG.md');
$Parsedown = new Parsedown(); $Parsedown = new Parsedown();