-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardcode.php
38 lines (29 loc) · 1.59 KB
/
hardcode.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
<?php
/* Data base details */
$dsn='mysql:host=127.0.0.1;dbname=freichat'; //DSN
$db_user='root'; //DB username
$db_pass=''; //DB password
$driver='Custom'; //Integration driver
$db_prefix=''; //prefix used for tables in database
$uid='5916d220b6089'; //Any random unique number
$connected='YES'; //only for custom installation
$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true; //make it false if you want to reinstall freichat
$admin_pswd='admin123'; //backend password
$debug = false;
$custom_error_handling='NO'; // used during custom installation
$use_cookie='false';
/* email plugin */
$smtp_username = '';
$smtp_password = '';
$force_load_jquery = 'NO';
/* Custom driver */
$usertable='users'; //specifies the name of the table in which your user information is stored.
$row_username='first_name'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
$avatar_table_name='members'; //specifies the table where avatar information is stored
$avatar_column_name='avatar'; //specifies the column name where the avatar url is stored
$avatar_userid='id'; //specifies the userid to the user to get the user's avatar
$avatar_reference_user='id'; //specifies the reference to the user to get the user's avatar in user table
$avatar_reference_avatar='id'; //specifies the reference to the user to get the user's avatar in avatar
$avatar_field_name=$avatar_column_name; //to avoid unnecessary file changes , *do not change