소스 검색

忽略文件

linwu 3 년 전
부모
커밋
28dcb64370
5개의 변경된 파일30개의 추가작업 그리고 0개의 파일을 삭제
  1. 25 0
      data/config/database.php
  2. 3 0
      data/config/template.php
  3. 0 0
      data/install.lock
  4. 2 0
      data/route/route.php
  5. 0 0
      data/runtime/.gitignore

+ 25 - 0
data/config/database.php

@@ -0,0 +1,25 @@
+<?php
+/**
+ * 配置文件
+ */
+
+return [
+    // 数据库类型
+    'type'     => 'mysql',
+    // 服务器地址
+    'hostname' => '127.0.0.1',
+    // 数据库名
+    'database' => 'train',
+    // 用户名
+    'username' => 'root',
+    // 密码
+    'password' => '',
+    // 端口
+    'hostport' => '3306',
+    // 数据库编码默认采用utf8
+    'charset'  => 'utf8mb4',
+    // 数据库表前缀
+    'prefix'   => 'cmf_',
+    "authcode" => 'XkeBVvgoTRUQXWGKZg',
+    //#COOKIE_PREFIX#
+];

+ 3 - 0
data/config/template.php

@@ -0,0 +1,3 @@
+<?php	return array (
+  'cmf_default_theme' => 'simpleboot3',
+);

+ 0 - 0
data/install.lock


+ 2 - 0
data/route/route.php

@@ -0,0 +1,2 @@
+<?php	return array (
+);

+ 0 - 0
data/.gitignore → data/runtime/.gitignore