const DB_HOST = '127.0.0.1';
const DB_USERNAME = 'user';
const DB_PASSWORD = 'test';
-const DB_NAME = 'bibliotheca';
-const DB_PREFIX = 'bib'; # a _ is added automatically as separation
+const DB_NAME = 'emere';
+const DB_PREFIX = 'emere'; # a _ is added automatically as separation
# session
const SESSION_LIFETIME = 43200; // 8 hours
--- /dev/null
+<?php
+/**
+ * emere
+ *
+ * Copyright (C) 2022 Johannes 'Banana' Keßler
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+# set to true if you need debug messages in error log file
+const DEBUG = true;
+# set to ture if you need query log messages in error log file.
+const QUERY_DEBUG = true;
+
+# timezone settings
+const TIMEZONE = 'Europe/Berlin';
+
+# path settings
+const PATH_ABSOLUTE = '/home/some/path/emere/';
+const PATH_LOGDIRECTORY = PATH_ABSOLUTE . '/log';
+
+# database config
+const DB_HOST = '127.0.0.1';
+const DB_USERNAME = 'user';
+const DB_PASSWORD = 'test';
+const DB_NAME = 'emere';
+const DB_PREFIX = 'emere'; # a _ is added automatically as separation
+
+# session
+const SESSION_LIFETIME = 43200; // 8 hours
+const SESSION_NAME = "emere-session";
+const SESSION_SAVE_PATH = PATH_LOGDIRECTORY . '/session';