-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
20 lines (17 loc) · 781 Bytes
/
config.php
File metadata and controls
20 lines (17 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
$conf->debug = true; # set true during development and use in your code (for instance check if true to send additional message)
# ---- Webapp location
$conf->server_name = 'localhost'; # server address and port
$conf->protocol = 'http'; # http or https
$conf->app_root = '/WebOrganizer/public'; # project subfolder in domain (relative to main domain)
# ---- Database config - values required by Medoo
$conf->db_type = 'mysql';
$conf->db_server = 'localhost';
$conf->db_name = 'weborganizer';
$conf->db_user = 'root';
$conf->db_pass = '';
$conf->db_charset = 'utf8';
# ---- Database config - optional values
$conf->db_port = '3306';
#$conf->db_prefix = '';
$conf->db_option = [PDO::ATTR_CASE => PDO::CASE_NATURAL, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION];