Commit 4462b2ee4d3d0f3ff96ce052c6e8dfc20e0dff6f

Authored by u123231312
1 parent bd5a188c

no message

@@ -6,7 +6,7 @@ class Index extends Common{ @@ -6,7 +6,7 @@ class Index extends Common{
6 parent::initialize(); 6 parent::initialize();
7 } 7 }
8 public function index(){ 8 public function index(){
9 - return redirect('http://www.cltphp.com/admin'); 9 + return redirect('http://xt03.colorcun.com/admin');
10 $order = input('order','createtime'); 10 $order = input('order','createtime');
11 $time = time(); 11 $time = time();
12 $list=db('article')->alias('a') 12 $list=db('article')->alias('a')
@@ -13,13 +13,13 @@ return [ @@ -13,13 +13,13 @@ return [
13 // 数据库类型 13 // 数据库类型
14 'type' => 'mysql', 14 'type' => 'mysql',
15 // 服务器地址 15 // 服务器地址
16 - 'hostname' => '127.0.0.1', 16 + 'hostname' => '101.201.37.61',
17 // 数据库名 17 // 数据库名
18 - 'database' => 'localhost', 18 + 'database' => 'xt_dc_admin',
19 // 用户名 19 // 用户名
20 'username' => 'root', 20 'username' => 'root',
21 // 密码 21 // 密码
22 - 'password' => '', 22 + 'password' => 'Xph245.MnjH',
23 // 端口 23 // 端口
24 'hostport' => '3306', 24 'hostport' => '3306',
25 // 连接dsn 25 // 连接dsn