mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Assume that the extra data directory exists in modules.
We can get the module registration system to automatically prepare the requested files
This commit is contained in:
parent
7cd57c894f
commit
501d6a1c9c
1 changed files with 2 additions and 4 deletions
|
@ -215,10 +215,8 @@ register_module([
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if(file_exists($paths->extra_data_directory)) {
|
require_once("$paths->extra_data_directory/Parsedown.php");
|
||||||
require_once("$paths->extra_data_directory/Parsedown.php");
|
require_once("$paths->extra_data_directory/ParsedownExtra.php");
|
||||||
require_once("$paths->extra_data_directory/ParsedownExtra.php");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to 'auto-correct' a page name by trying different capitalisation
|
* Attempts to 'auto-correct' a page name by trying different capitalisation
|
||||||
|
|
Loading…
Reference in a new issue