-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_private.sample.php
More file actions
43 lines (30 loc) · 1.35 KB
/
config_private.sample.php
File metadata and controls
43 lines (30 loc) · 1.35 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
41
42
43
<?php
/******************************************/
/********** Private settings ********/
/******************************************/
# system settings
# php x.x
# phpmyadmin x.x.x
/********* Database Settings ************/
$config = array(
//connection information
"host" => ($_SERVER['SERVER_NAME'] == 'localhost') ? 'database' : 'localhost', //the hostname of your database server, 'database' used on localhost running Docker, 'localhost' used on hosted server
"db" => '', //the name of your database
"prefix" => '', // the GTD table prefix for your installation (optional)
"user" => '', //username for database access
"pass" => '', //database password
//database information
"dbtype" => 'mysql', //database type: currently only mysql is valid. DO NOT CHANGE!
"conn" => NULL // store the sqli connection here
);
/********* Server IP ************/
// exception to not alter headers in headerHtml.inc.php if running on localhost server
$config['servLocalIP'] = '127.0.0.1';
/********* openAI API ************/
$config['openAI'] = 'xxx';
/********* password filter ************/
$config['email_admin'] = 'gg@gmail.com';
$login_information = array(
'mickey' => 'abc123'
);
// php closing tag has been omitted deliberately, to avoid unwanted blank lines being sent to the browser