diff --git a/includes/class-Markdown.php b/includes/class-Markdown.php index 5ef5d3a..c4c49ab 100644 --- a/includes/class-Markdown.php +++ b/includes/class-Markdown.php @@ -1,70 +1,71 @@ . include LIBMARKDOWN_PATH; -file_exists( LIBMARKDOWN_PATH ) or +if( !file_exists( LIBMARKDOWN_PATH ) ) { error_die( 'please install php-markdown package or define a different LIBMARKDOWN_PATH into your /load.php' ); +} class Markdown { /** * Prase a string in markdown and return an HTML rappresentation * * @param string $s * @param array $args * @return array */ public static function parse( $s, $args = [] ) { // avoid