You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

57 lines
1.3 KiB

<?php
defined('BASE_PATH') OR exit('No direct script access allowed');
return array (
'DEBUG' => true,
//route config
'REWRITE_ON' => 'false',
'REWRITE_RULE' =>array(
//'<app>/<c>/<a>'=>'<app>/<c>/<a>',
),
//db config
'DB'=>array(
'default' => file_exists(ROOT_PATH. 'data/config.php') ? require ROOT_PATH. 'data/config.php':array(),
'ecshop' => array(
'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost',
'DB_USER' => 'root',
'DB_PWD' => 'root',
'DB_NAME' => 'ecshop_db',
'DB_PREFIX' => 'ecs_',
'DB_PORT' => '3306',
'DB_CHARSET' => 'utf8',
),
'sdp' => array(
'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost',
'DB_USER' => 'root',
'DB_PWD' => 'root',
'DB_NAME' => 'sdp_db',
'DB_PREFIX' => 'ecs_',
'DB_PORT' => '3306',
'DB_CHARSET' => 'utf8',
),
'djd' => array(
'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost',
'DB_USER' => 'root',
'DB_PWD' => 'root',
'DB_NAME' => 'ecshop_db',
'DB_PREFIX' => 'ecs_',
'DB_PORT' => '3306',
'DB_CHARSET' => 'utf8',
),
'dsc' => array(
'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost',
'DB_USER' => 'root',
'DB_PWD' => 'root',
'DB_NAME' => 'shangchuang_db',
'DB_PREFIX' => 'ecs_',
'DB_PORT' => '3306',
'DB_CHARSET' => 'utf8',
),
),
);