Skip to content

Commit

Permalink
新增入口
Browse files Browse the repository at this point in the history
  • Loading branch information
LynMoe committed Aug 13, 2018
1 parent 7ff4836 commit cd11346
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
config/Config.php
WebHook/Logs/
composer.lock
.idea/
Expand Down
10 changes: 10 additions & 0 deletions config/Config.php
@@ -0,0 +1,10 @@
<?php
/**
* Created by PhpStorm.
* User: XiaoLin
* Date: 2018-06-29
* Time: 12:13 PM
*/

if (!file_exists(__DIR__ . '/../config/.env')) die('请先完成设置');
define('CONFIG',array_merge(parse_ini_file(__DIR__ . '/../config/.env.example',true),parse_ini_file(__DIR__ . '/../config/.env',true)));

0 comments on commit cd11346

Please sign in to comment.