View Source

/hsphere/local/home/c251266/sunsetvines.com/www.sunsetvines.com/sunsetvines/current/config/environment.php (1.430 KB)

#0001  
#0002  
#0003  
#0004  
#0005  
#0006  
#0007  
#0008  
#0009  
#0010  
#0011  
#0012  
#0013  
#0014  
#0015  
#0016  
#0017  
#0018  
#0019  
#0020  
#0021  
#0022  
#0023  
#0024  
#0025  
#0026  
#0027  
#0028  
#0029  
#0030  
#0031  
#0032  
#0033  
#0034  
#0035  
#0036  
#0037  
#0038  
#0039  
#0040  
#0041  
#0042  
#0043  
#0044  
#0045  
<?php
// set application mode
$_ENV['mode'] = 'development'// development, test, production


// set production database properties
$_ENV[production][adapter]        = 'mysql';
$_ENV[production][host]            = '98.130.0.83';
$_ENV[production][database]        = 'C251266_sunsetvines';
$_ENV[production][username]        = 'C251266_admin';
$_ENV[production][password]        = 'Payusmoney1';

// set development database properties
$_ENV[development][adapter]            = 'mysql';
$_ENV[development][host]            = '98.130.0.83';
$_ENV[development][database]        = 'C251266_sunsetvines';
$_ENV[development][username]        = 'C251266_admin';
$_ENV[development][password]        = 'Payusmoney1';

// Default Route Controller
$_ENV['routes']['default']['controller'] = 'index';
$_ENV['routes']['default']['action'] = 'index';
$_ENV['routes']['default']['layout'] = 'default';

// define application paths
define(BASE_PATH,             dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR);
define(APP_PATH,             BASE_PATH.'app/');
define(CONFIG_PATH,         BASE_PATH.'config/');
define(PUBLIC_PATH,         BASE_PATH.'public/');
define(CONTROLLERS_PATH,     APP_PATH.'controllers/');
define(HELPERS_PATH,         APP_PATH.'helpers/');
define(MODELS_PATH,         APP_PATH.'models/');
define(VIEWS_PATH,             APP_PATH.'views/');
define(VENDOR_PATH,         BASE_PATH.'vendor/');
define(CREOVEL_PATH,         VENDOR_PATH.'creovel/');

// set session handler
$_ENV['sessions'] = 'true'// false, true, 'table'

// include core libraries
require_once(CREOVEL_PATH.'lib.php');


?>