From b8ae783b528cd22466c253905bb6f68c442e4f74 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 6 Aug 2016 18:52:53 +0200 Subject: [PATCH] add support for per bibtex file configuration. closes #33 --- bibtexbrowser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index a64c2f0..e413dd0 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -45,6 +45,8 @@ function c($key) { // shortcut // I recommend to put your changes in bibtexbrowser.local.php // it will help you to upgrade the script with a new version // the changes that require existing bibtexbrowser symbols should be in bibtexbrowser.after.php (included at the end of this file) +// per bibtex file configuration +@include(@$_GET[Q_FILE].'.local.php'); @include(preg_replace('/\.php$/','.local.php',__FILE__)); // the encoding of your bibtex file