Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 1.26 KB

Config.md

File metadata and controls

40 lines (38 loc) · 1.26 KB

Replicating Site

Prerequisite

  1. Xampp
  2. Clone this Repo directly into xampp/htdocs path.
  • Front End
  1. Go to - application/config.php
  2. Set - $config['base_url'] = 'http://example.com/' or 'https://example.com/'
  3. Go to - application/database.php
  4. Set -
    'hostname' => 'localhost', (change required if needed)
    'username' => '',
    'password' => '',
    'database' => '',
  5. Go to - application/emailc.php
  6. Set -
    $config['$econfig'] = array(
    'protocol' => 'smtp',
    'smtp_host' => '',
    /* email gateway host /
    'smtp_port' => 465,
    'smtp_user' => '',
    /
    email gateway username /
    'smtp_pass' => '',
    /
    email gateway password */
    'wordwrap' => TRUE,
    'charset' => 'utf-8'
    );
  • adminpanel
  1. Go to - application/adminpanel/config.php
  2. Set - $config['base_url'] = 'http://example.com/adminpanel/' or 'https://example.com/adminpanel/'
  3. Go to - application/adminpanel/constants.php
  4. Set to - define('BASE_FRONT_URL', 'http://example.com/' or 'https://example.com/');
  5. Go to - application/adminpanel/database.php
  6. Set to -
    'hostname' => 'localhost', (change required if needed)
    'username' => '',
    'password' => '',
    'database' => '',