Charlie 9 年之前
父节点
当前提交
d429ae191a
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      www/protected/config/develop.php
  2. 1 1
      www/protected/config/main.php
  3. 1 1
      www/protected/config/test.php

+ 1 - 1
www/protected/config/develop.php

@@ -29,7 +29,7 @@ return CMap::mergeArray(
             'mongodb' => array(//管理后台的数据库
                 'class'            => 'EMongoDB',
                 'connectionString' => 'mongodb://127.0.0.1:27017',
-                'dbName'           => 'admin',
+                'dbName'           => 'backend',
                 'fsyncFlag'        => true,
                 'safeFlag'         => true,
                 'useCursor'        => true

+ 1 - 1
www/protected/config/main.php

@@ -87,7 +87,7 @@ return array(
         'mongodb' => array(//后台的数据库
             'class'            => 'EMongoDB',
             'connectionString' => 'mongodb://root:Yiguanjia6101@10.9.156.18:27017',
-            'dbName'           => 'admin',
+            'dbName'           => 'backend',
             'fsyncFlag'        => true,
             'safeFlag'         => true,
             'useCursor'        => true

+ 1 - 1
www/protected/config/test.php

@@ -30,7 +30,7 @@ return CMap::mergeArray(
             'mongodb' => array(//管理后台的数据库
                 'class'            => 'EMongoDB',
                 'connectionString' => 'mongodb://root:Yiguanjia6101@10.9.198.18:27017',
-                'dbName'           => 'admin',
+                'dbName'           => 'backend',
                 'fsyncFlag'        => true,
                 'safeFlag'         => true,
                 'useCursor'        => true