-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathenv
47 lines (33 loc) · 1.64 KB
/
env
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
44
45
# Do not delete this file, this file name always be (.env)
CI_ENVIRONMENT = production
#CI_ENVIRONMENT = development
# run it always in producation mode when its ready to deploy
#--------------------------------------------------------------------
# CRDUIGNITER CONFIGRATION
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# Your Website Domain Nain
app.baseURL = 'http://example.com'
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# Subdomain Configuration
SUB_DOMAIN_ENABLE = 1
SUB_DOMAIN = 'api'
# If SUB_DOMAIN_ENABLE=0, so your domain will example.com
# If SUB_DOMAIN_ENABLE=1, so your domain will api.example.com
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# Security Configuration (Header Autorization)
SECURITY_CONFIG = 0
TOKEN_KEY = '1234'
# if SECURITY_CONFIG is 1 thats mean its true, you have to auth TOKEN_KEY as Bearer token everytime
# if SECURITY_CONFIG is 0 thats mean its false, it will work normally, so just ignore it.
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
database.default.hostname = your_hostname
database.default.database = your_database_name
database.default.username = your_host/db_username
database.default.password = your_host/db_password
database.default.DBDriver = MySQLi