Traver
2.1
2.1
  • Welcome
  • ADMIN PANEL
    • Import Project
    • Structure
    • Database
    • Configuration
    • Notification
    • Ad Networks
  • ANDROID
    • Installation
    • Import Project
    • Firebase [must]
    • Google Maps
    • Google Sign In
    • Structure
    • API URL
    • Ad Networks
    • Room DB
  • Migration
Powered by GitBook
On this page
  • Base URL and Environment
  • Security & Admin Name, FCM Topic
  • Email
  1. ADMIN PANEL

Configuration

Codeigniter config

PreviousDatabaseNextNotification

To change configuration please see .env file, you must edit this data with your own data.

Base URL and Environment

You can choose environment production or development from here

.env
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------

#CI_ENVIRONMENT = production
CI_ENVIRONMENT = development

Security & Admin Name, FCM Topic

We implement security scheme to prevent spam data. We use security code that use for both side android and server. Security code is secret data, so you should not share to anyone without authorization. You can generate your new one from this site : If you don't understand about FCM topic, please don't change it

.env
#--------------------------------------------------------------------
# CUSTOM
#--------------------------------------------------------------------

custom.AdminName = 'Traver'
custom.AdminVersion = '1.0'
custom.FCMTopic = '/topics/ALL-DEVICE'
custom.SecurityCode = 'Youe Security code here'

Email

Email function use for send reset password code to user email

.env
#--------------------------------------------------------------------
# EMAIL
#--------------------------------------------------------------------

email.SMTPCrypto = 'ssl'
email.SMTPHost = 'your.smtp.host'
email.SMTPUser = 'your.smtp@user.com'
email.SMTPPass = 'your.smtp.user.password'
email.SMTPPort = your port
http://www.unit-conversion.info/texttools/random-string-generator/