123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- $app_path = dirname(dirname(__FILE__));
- return array(
- 'Namespace' => 'Test',// 该app的命名空间,比如 Product、Misc
- 'App_Id' => 'test.kimiss.com',
- 'App_Path' => $app_path,
- 'Lib_Path' => $app_path . DS . 'lib',
- 'route_file' => $app_path . DS . 'config/route.inc.php',
- 'memcached' => array(
- 'default' => array(
- array('10.15.200.181', 11211, 1),
- ),
- // 'dao_cache' => array(
- // array('10.15.200.181', 11211, 1),
- // ),
- ),
- 'db' => array(
- 'default' => 'mysqli://root:@kimiss@10.15.200.181/product?charset=utf8&name=gxg',
- ),
- 'dbslaves' => array(
- array(
- 'master' => '10.15.200.181:3306',
- 'mixed' => array(
- array(
- 'host' => '10.15.200.181',
- 'user' => 'root',
- 'pass' => '@kimiss',
- ),
- ),
- ),
- ),
- 'smarty' => array(
- 'template_dir' => $app_path . DS . 'template_dir',
- 'compile_dir' => $app_path . DS . 'compile_dir',
- 'tpl_type' => 'html',
- ),
- 'smtp' => array(// 用于发送邮件的smtp配置信息
- 'host' => 'smtp.qq.com',
- 'port' => 25,
- 'username' => 'husserl',
- 'from' => 'husserl@qq.com',
- 'fromname' => '闺蜜技术部',
- 'password' => 'lulu851031',
- 'charset' => 'utf8',
- 'timeout' => 20,
- ),
- );
|