From 8c0952712a7e0e5dba708b002d2e1b02cb842a4a Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Mon, 9 Aug 2021 08:45:03 +0000 Subject: [PATCH] fix: fix constant usage before declaration --- bibtexbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 9cb8b97..cf4ca12 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -46,7 +46,7 @@ function c($key) { // shortcut // 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('bibtexbrowser.local.php'); @include(preg_replace('/\.php$/','.local.php',__FILE__)); // the encoding of your bibtex file