forked from anantgarg/Qwench
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
40 lines (32 loc) · 1.27 KB
/
config.php
File metadata and controls
40 lines (32 loc) · 1.27 KB
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
40
<?php
// Database Details
define('SERVERNAME','localhost');
define('SERVERPORT','3306');
define('DBUSERNAME','root');
define('DBPASSWORD','');
define('DBNAME','qwench');
Define('ANSWERS_PER_PAGE','10');
define('QUESTIONS_PER_PAGE','10');
// If you want only logged in users to view the site
define('ALLOW_VISITORS','0');
// Do not change salt after users have registered
define('SALT','yoursecurestringoverhere');
// Set default timezone if you want or comment the line below
date_default_timezone_set("Asia/Calcutta");
// No trailing slash
// Path to the Qwench folder
// If you have installed Qwench in your
// root folder then set
// define('BASE_DIR','');
define('BASE_DIR','');
// If URL-Rewriting does not work then set
define('BASE_PATH',BASE_DIR.'/index.php');
// If URL-Rewriting works, then leave the line below as is
// define('BASE_PATH',BASE_DIR);
//Email notification
define('QUESTION_EMAIL_NOTIFICATION',true); //put true to enable
define('FAVORITE_EMAIL_NOTIFICATION',true); //put true to enable
define('ACCEPTED_ANSWER_EMAIL_NOTIFICATION',true); //put true to enable
define('ANSWER_EMAIL_NOTIFICATION',true); //put true to enable
define('COMMENT_EMAIL_NOTIFICATION',true); //put true to enable
define('EMAIL_SENDER','j.muschalle@gmail.com'); //email who send notification