123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- use KIF\Core\Request;
- $app_path = '/www/onepage/tm';
- $cdn_host = 'opcdn.sg.com.cn';
- $name = 'OnePage V1.0';
- return array(
- 'Namespace' => 'Cas',
- 'App_Id' => 'http://onepage.sg.com.cn/',
- 'App_Path' => $app_path,
- 'Lib_Path' => $app_path . DS . 'lib',
- 'route_file' => $app_path . DS . 'config/route.inc.php',
- 'memcached' => array(
- 'default' => array(
- array('192.168.12.6', 11211, 1),
- ),
- ),
- 'db' => array(
- 'default' => 'mysqli://root:Pwd0fMy5ql_55@192.168.12.4:3306/onepage_v1_sg?charset=utf8',
- 'backend' => 'mysqli://root:Pwd0fMy5ql_55@192.168.12.4:3306/onepage_v1?charset=utf8',
- ),
- 'dbslaves' => array(
- array(
- 'master' => '192.168.12.4:3306',
- 'mixed' => array(
- array(
- 'host' => '192.168.12.4',
- 'user' => 'root',
- 'pass' => 'Pwd0fMy5ql_55',
- ),
- ),
- ),
- ),
- 'smarty' => array(
- 'template_dir' => $app_path . DS . 'template_dir',
- 'compile_dir' => $app_path . DS . 'compile_dir',
- 'tpl_type' => 'html',
- ),
- 'upload' => array(
- 'path' => '/data/web/onepage/kissy/public/upload',
- 'url' => "http://{$cdn_host}/public/upload",
- ),
- 'Log_Path' => $app_path .DS.'log',
- 'web_cfg' => array(
- 'domain' => Request::schemeDomain(),
- 'url' => Request::url(),
- 'cdn' => "http://{$cdn_host}",
- 'name' => $name,
- ),
-
- 'wechat_cfg' => array(
- 'appId' => 'wxc80e1368d4f27094',
- 'appSecret' => '0dc5ab606ce9c249e80ccc7760d05178',
- ),
-
- 'passport_sign_key' => 'rD5carfCGbHAhF',
- 'passport_url' => 'http://passport.sg.com.cn/auth.info?' ,
- );
|