Compare commits

..

No commits in common. "21a011ac3b9b1865c7081ba4b32b0d0a333f7c98" and "f703259d445e2d1e6fd78e8e5bb38dbb98a69da6" have entirely different histories.

1 changed files with 1 additions and 11 deletions

View File

@ -10,17 +10,7 @@ use Laminas\View\Renderer\PhpRenderer;
use Laminas\Form\FormElementManager; use Laminas\Form\FormElementManager;
use SimpleMDText\Form\SimpleMDTextBlockForm; use SimpleMDText\Form\SimpleMDTextBlockForm;
require_once(dirname(__DIR__, 3) . '/vendor/erusev/parsedown/Parsedown.php');
$list_of_includes = get_included_files();
$parsedown_included=false;
foreach ($list_of_includes as $file_path) {
if (false !== strpos($file_path, "Parsedown.php")) {
$parsedown_included=true;
}
}
if ($parsedown_included == false){
require_once(dirname(__DIR__, 3) . '/vendor/autoload.php');
}
use Parsedown; use Parsedown;