-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathconfig.php
39 lines (33 loc) · 2.28 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
// ============================
// PHP Settings
// ============================
$config['php']['error_reporting'] = E_ALL; // activate or deactivate PHP Error Messages
// ============================
// SITE Settings
// ============================
$config['site']['invitation_code'] = 3702; // this is the code that has to be used to successfully register
$config['site']['show_extended_homepage'] = false; // show some Explanations and hints on DIWA's index Page?
$config['site']['show_footer_info'] = true; // show infos about author and links to github in the footer?
$config['site']['use_mail_function'] = false; // false: saves all mails to disk only; true: also sends mails using php's mail()-function
// ============================
// HTTP BASIC AUTH Settings
// ============================
// Uncomment the following two lines to enable HTTP Basic Auth. Please also change username and password!
// $config['auth']['username'] = ''; // set your username
// $config['auth']['password'] = ''; // set a strong password
// ONLY CHANGE SETTINGS BELOW BEFORE INSTALLATION
// ============================
// SYSTEM Settings
// ============================
$config['system']['hashing_algorithm'] = 'md5'; // specify the hashing algorithm for password hashing. Do not change this after installation.
// ============================
// DATABASE Settings
// ============================
$config['database']['driver'] = 'sqlite'; // available options: sqlite, mysql
$config['database']['prefix'] = 'diwa_'; // the table prefix (e.g. "diwa" generates the table name "diwa_users"). Do not change this after installation.
$config['database']['database'] = '../database/db.s3db'; // for sqlite: Database filename; for mysql & pgsql: Database name
// additional database settings for mysql & pgsql (ignore these if you use sqlite)
$config['database']['server'] = 'localhost'; // specify Server Hostname here
$config['database']['username'] = 'username'; // database username ...
$config['database']['password'] = 'password'; // ... and password