Skip to content
Snippets Groups Projects
Commit d2ee49ce authored by Steven Danz's avatar Steven Danz
Browse files

local_acronyms.patch

Add the option of using a local.acronyms.conf file to specify local acronyms
without having to edit the default set

darcs-hash:20050628023628-3ed6d-2740b411efc124671f235ff9ebfc292c7d331709.gz
parent 38c08c2b
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,10 @@ function getAcronyms() {
static $acronyms = NULL;
if ( !$acronyms ) {
$acronyms = confToHash(DOKU_INC . 'conf/acronyms.conf');
if (@file_exists(DOKU_INC . 'conf/local.acronyms.conf')) {
$local = confToHash(DOKU_INC . 'conf/local.acronyms.conf');
$acronyms = array_merge($acronyms, $local);
}
}
return $acronyms;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment