Drush_Update_2021-01-29_17_24

This commit is contained in:
root
2021-01-29 17:24:56 +01:00
parent 93e3f68e97
commit 7894f6132c
2 changed files with 11 additions and 1 deletions

View File

@@ -81,7 +81,15 @@
// It will be used within RSS feeds and when sending notification emails to database users.
// The base URL is auto-generated by the code below. Enter a literal URL if this doesn't work for
// you.
$databaseBaseURL = preg_replace('#[^/]*$#e','','https://'.$_SERVER['HTTP_HOST'].scriptURL(),1); // e.g. "https://polaris.ipoe.uni-kiel.de/refs/"
// original $databaseBaseURL = preg_replace('#[^/]*$#e','','https://'.$_SERVER['HTTP_HOST'].scriptURL(),1); // e.g. "https://polaris.ipoe.uni-kiel.de/refs/"
$databaseBaseURL = preg_replace_callback(
"#[^/]*$#",
function($matches){
foreach($matches as $match){
return ucfirst($match);
}
},
"https://".$_SERVER["HTTP_HOST"].scriptURL(),1); // e.g. "https://polaris.ipoe.uni-kiel.de/refs/"
// The keywords/tags that describe or categorize the content of this literature database: