Esty Documentation
  • Welcome
  • Overview
  • Requirements
  • HTML Structure
  • CSS Structure
  • JavaScript Structure
  • DataBase Structure
  • Installation
    • Preparation
    • Demo Import
    • Change the config file
    • First usage
    • Changing the currency
  • Support
  • Source & Credits
Powered by GitBook
On this page
  1. Installation

Change the config file

Set your own data in config.php. Thereby Esty files will be able to connect and operate with your database. Please focus only on followings.

Core settings to reach the db:

// Your MySQL database hostname.
define('db_host','localhost');
// Your MySQL database username.
define('db_user','YOUR_DB_USER');
// Your MySQL database password.
define('db_pass','YOUR_DB_PASS');
// Your MySQL database name.
define('db_name','YOUR_DB_NAME');
// Your MySQL database charset.
define('db_charset','utf8');
// The base URL.
define('base_url','https://YOURDOMAIN.NET/YOUR-ESTY-FOLDER/');

Mail settings to be able to send out password reset email for the admin

/* Mail */
// SMTP Hostname
define('smtp_host','smtp.YOURDOMAIN.NET');
// SMTP Port number
define('smtp_port', YOUR_PORT_NUMBER);
// SMTP Username
define('smtp_user','YOUR_SMTP_USER');
// SMTP Password
define('smtp_pass','YOUR_SMTP_PASS');
PreviousDemo ImportNextFirst usage

Last updated 7 months ago