diff --git a/initialize/PhpErrorSettings.inc.php b/initialize/PhpErrorSettings.inc.php new file mode 100644 index 0000000..95e6956 --- /dev/null +++ b/initialize/PhpErrorSettings.inc.php @@ -0,0 +1,4 @@ +// produchtion +error_reporting(E_ERROR) +//developement +error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); diff --git a/initialize/db.inc.php b/initialize/db.inc.php index 9ebf2b7..415caf9 100644 --- a/initialize/db.inc.php +++ b/initialize/db.inc.php @@ -64,9 +64,10 @@ // The table name prefix used for refbase MySQL tables: $tablePrefix = ""; // e.g.: "rb_" -// database values for security not in resporitory -// include('db.dev.php'); - include('initialize/db.live.php'); + + // database values for security not in resporitory + // include('db.dev.php'); + include('db.live.php'); // The names of the MySQL database tables used by refbase: // -> in code comments referred to as table: diff --git a/initialize/default.ini.live.php b/initialize/default.ini.live.php index 0b7fd1a..8a10dbd 100644 --- a/initialize/default.ini.live.php +++ b/initialize/default.ini.live.php @@ -44,4 +44,12 @@ // The URL of the institution hosting this literature database: $hostInstitutionURL = "https://yourdomain.com/"; // e.g. "https://www.uni-kiel.de/ipoe/" + + // The keywords/tags that describe or categorize the content of this literature database: + // These keywords/tags should be single words delimited by a space character. They'll be + // included on every HTML page (in the section) as well as in the OpenSearch description + // document. A good selection of keywords may help to increase search engine visibility. + $databaseKeywords = " science academic literature scientific references publication search citation web bibliography database mysql php refbase"; // e.g. "academic literature refbase" + + ?> diff --git a/initialize/ini.inc.php b/initialize/ini.inc.php index 94fd64d..4c1b375 100644 --- a/initialize/ini.inc.php +++ b/initialize/ini.inc.php @@ -88,8 +88,12 @@ // These keywords/tags should be single words delimited by a space character. They'll be // included on every HTML page (in the section) as well as in the OpenSearch description // document. A good selection of keywords may help to increase search engine visibility. - $databaseKeywords = "equine behaviour science academic literature scientific references publication search citation web bibliography database mysql php refbase"; // e.g. "academic literature refbase" + $databaseKeywords = " science academic literature scientific references publication search citation web bibliography database mysql php refbase"; // e.g. "academic literature refbase" + //Overrride settings above + // values for security not in resporitory + // include('ini.dev.php'); + include('ini.live.php') // The character encoding that's used as content-type for HTML, RSS and email output: // IMPORTANT NOTES: - the encoding type specified here must match the default character set you've