Drush_Update_2021-01-29_17_24
This commit is contained in:
@@ -3,4 +3,6 @@
|
||||
error_reporting(E_ERROR);
|
||||
//developement
|
||||
//error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||
|
||||
?>
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user