Replace Parsedown manual loading with Composer's Autoloader
Dieser Commit ist enthalten in:
Ursprung
41a78efec9
Commit
ca67542466
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once(dirname(__FILE__) . "/../vendor/autoload.php");
|
||||
|
||||
require_once(dirname( __FILE__)."/../vendor/erusev/parsedown/Parsedown.php");//markdown_extended.php");
|
||||
$tree = array();
|
||||
$base = dirname(dirname(__FILE__));
|
||||
$options = get_options(isset($argv[2]) ? $argv[2] : '');
|
||||
@ -32,6 +32,7 @@
|
||||
'file_editor' => false,
|
||||
'template' => 'default'
|
||||
);
|
||||
|
||||
// Load User Config
|
||||
$config_file = (($config_file === '') ? 'docs/config.json' : $config_file);
|
||||
if (substr($config_file, 0, 1) !== '/') $config_file = $base . '/' . $config_file;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren