Browse Source

Merge pull request #20 from tbrisker/master

prevent collision if i18n function already exists
pull/21/head
Martin Monperrus 11 years ago
parent
commit
8c5868be17
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

@ -353,6 +353,7 @@ function _zetDB($bibtex_filenames) {
} // end function setDB
// internationalization
if (!function_exists('__')){
function __($msg) {
global $BIBTEXBROWSER_LANG;
if (isset($BIBTEXBROWSER_LANG[$msg])) {
@ -360,6 +361,7 @@ function __($msg) {
}
return $msg;
}
}
// factories
// may be overridden in bibtexbrowser.local.php

Loading…
Cancel
Save