diff --git a/bibtexbrowser.php b/bibtexbrowser.php index a051599..09aa7a8 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -195,7 +195,7 @@ License, or (at your option) any later version. // *************** CONFIGURATION // I recommend to put your changes in bibtexbrowser.local.php // it will help you to upgrade the script with a new version -@include('bibtexbrowser.local.php'); +@include(dirname(__FILE__).'/bibtexbrowser.local.php'); // there is no encoding transformation from the bibtex file to the html file // if your bibtex file contains 8 bits characters in utf-8 // change the following parameter @@ -2288,15 +2288,13 @@ foreach($metatags as $item) { echo ''.strip_tags($content->getTitle()).''; // now the CSS -if (is_readable('bibtexbrowser.css')) { - echo ''; +echo ''; -} +else { bibtexbrowserDefaultCSS(); } +echo "\n".' -->'; + ?>