mirror of
https://github.com/YunoHost-Apps/ulogger_ynh.git
synced 2024-10-01 13:34:45 +02:00
41 lines
1.3 KiB
PHP
Executable file
41 lines
1.3 KiB
PHP
Executable file
<?php
|
|
/* μlogger
|
|
*
|
|
* Copyright(C) 2017 Bartek Fabiszewski (www.fabiszewski.net)
|
|
*
|
|
* This 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 <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
// This is default configuration file.
|
|
// Copy it to config.php and customize
|
|
|
|
// Database config
|
|
|
|
// PDO data source name, eg.:
|
|
// mysql:host=localhost;port=3307;dbname=ulogger;charset=utf8
|
|
// mysql:unix_socket=/tmp/mysql.sock;dbname=ulogger;charset=utf8
|
|
// pgsql:host=localhost;port=5432;dbname=ulogger
|
|
// sqlite:/tmp/ulogger.db
|
|
$dbdsn = "mysql:host=localhost;port=3307;dbname=__DB_USER__;charset=utf8";
|
|
|
|
// Database user name
|
|
$dbuser = "__DB_USER__";
|
|
|
|
// Database user password
|
|
$dbpass = "__DB_PWD__";
|
|
|
|
// Optional table names prefix, eg. "ulogger_"
|
|
$dbprefix = "";
|
|
|
|
?>
|