-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathconfig.default.php
36 lines (28 loc) · 1.2 KB
/
config.default.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
<?php
// Database Details
define('SERVERNAME','localhost');
define('SERVERPORT','3306');
define('DBUSERNAME','root'); // Replace root with your database username. If unsure, leave as is.
define('DBPASSWORD','root'); // Replace root with your database user password.
define('DBNAME','YOUR_DB'); //Create a new database qwench on your server and replace YOUR_DB with it's name
Define('ANSWERS_PER_PAGE','10');
define('QUESTIONS_PER_PAGE','10');
//if you want to enable production mode vs debug mode (useful for error reporting)
//Possible values 1 = true or 0 = false
define('DEBUG_MODE','1');
// If you want only logged in users to view the site
define('ALLOW_VISITORS','1');
// 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','/qwench');
// 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);