forked from Extendy/SmartyURL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env
110 lines (81 loc) · 3.55 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#--------------------------------------------------------------------
# Example Environment Configuration file
# *********************************
# variable must NOT bt ended with ;
# ********************************
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------
# CI_ENVIRONMENT = production
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
#your smartyurl website url
app.baseURL = 'https://EXAMPLE.COM'
#your default language for your app
# 'en' for english
# 'ar' for arabic
app.defaultLocale = 'en'
#ENV type , keep it to production for production
CI_ENVIRONMENT=production
#Force Global Secure Requests
app.forceGlobalSecureRequests = false
#Content Security Policy
app.CSPEnabled = false
#log level - keep it 3 unless you are debuging or your log files will be large
logger.threshold = 3
##SmartyURL Settings
#default site name
smartyurl.siteName = "SmartyURL"
#minify html output , default is true to reduce the size and remove html comments
#make it false if you want to debug html output
smartyurl.minifyHtmloutput = false
# it is important to ser the cookie domain to make cookie working correctly
cookie.domain = .EXAMPLE.COM
# If someone visits shorten URL that is not found or deleted, then a 404 page will be shown contains a link to goto
# the main page of your website, so enter your website url here.
# we advice you to add your main website url here not your SmartyURL website.
smartyurl.mainpagefor404notfound = "http://example.com/"
#Tags sharing between all users on the system
#KEEP IT FALSE IF YOU DO NOT NEED SHARED TAGS BETWEEN ALL USERS
smartyurl.urltags_shared_between_users = true
#Users can create shared urls which is shared between system users
#and if it shared then any user can see the URL (but cannot edit or delete it)
smartyurl.url_can_be_shared_between_users = true
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
database.default.hostname = localhost
database.default.database = databasename
database.default.username = databaseusername
database.default.password = database_password
database.default.DBDriver = MySQLi
database.default.port = 3306
#--------------------------------------------------------------------
# Email, The default Email configuration which used to send emails
#--------------------------------------------------------------------
#mail protocol: choose between mail, sendmail, smtp
#default it mail
#and we advice you to choose smtp and enter smtp info below
email.string $protocol = 'mail';
#choose the default sender mail
email.fromEmail = 'noreplay@example.com'
#choose the default sender name
email.fromName = 'SmartyURL'
#choose html for mail type
email.mailType = html
#enter the SMTP info here if you use smtp as protocol
email.SMTPHost = smtp.example.com
email.SMTPUser = noreplay@example.com
email.SMTPPass = 'SMTPuserPassword'
email.SMTPPort = 1025
#SMTP Encryption. Either tls or ssl or none
email.SMTPCrypto = ssl