Browse Source

Drush_Update_2021-01-29_17_24

master
root 4 years ago
parent
commit
7894f6132c
2 changed files with 11 additions and 1 deletions
  1. +2
    -0
      initialize/PhpErrorSettings.inc.php
  2. +9
    -1
      initialize/ini.inc.php

+ 2
- 0
initialize/PhpErrorSettings.inc.php View File

@ -3,4 +3,6 @@
error_reporting(E_ERROR); error_reporting(E_ERROR);
//developement //developement
//error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); //error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
error_reporting(E_ERROR | E_WARNING | E_PARSE);
?> ?>

+ 9
- 1
initialize/ini.inc.php View File

@ -81,7 +81,15 @@
// It will be used within RSS feeds and when sending notification emails to database users. // 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 // The base URL is auto-generated by the code below. Enter a literal URL if this doesn't work for
// you. // 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: // The keywords/tags that describe or categorize the content of this literature database:


Loading…
Cancel
Save