This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,344 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<?php | ||
return array( | ||
//CACHE缓存方式 支持file和redis | ||
'CACHE_WAY' => 'redis', | ||
/** | ||
* 框架缓存配置文件 | ||
* 支持File和Redis | ||
*/ | ||
return [ | ||
'CACHE_WAY' => 'file', | ||
'FILE_CACHE' => [ | ||
'PATH' => '/core/cache/file_cache/' | ||
], | ||
'REDIS_CACHE' => [ | ||
'IP' => '127.0.0.1', | ||
'PORT' => 6379, | ||
'PASSWORD' => '123456' | ||
], | ||
'MEMCACHED_CACHE' => [] | ||
); | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
/** | ||
* 框架公共配置 | ||
*/ | ||
return [ | ||
'ENCRYPTION' => [ | ||
'KEY' => '南边来了他大大伯子家的大搭拉尾巴耳朵狗' | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<?php | ||
return array( | ||
/** | ||
* 框架数据库配置文件 | ||
* MySql数据库 | ||
*/ | ||
return [ | ||
'DB_HOST' => 'localhost', | ||
'DB_USER' => 'root', | ||
'DB_NAME' => 'hahaha', | ||
'DB_PASSWORD' => '123456', | ||
'DB_PORT_NUMBER' => '3306' | ||
); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<?php | ||
return array( | ||
/** | ||
* 框架日志配置文件 | ||
* 'LOG_FOLDER' => 'YmdH' | ||
* YmdH 表示1个小时分出一个log日志文件将, | ||
* 这样可以避免高并发的时候,出现非常大的log日志。 | ||
*/ | ||
return [ | ||
'LOG_DRIVE' => 'file', | ||
'LOG_PATH' => '/core/log/', | ||
/*YmdH 表示1个小时分出一个log日志文件将,这样可以避免高并发的时候,出现非常大的log日志*/ | ||
'LOG_FOLDER' => 'YmdH' | ||
); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.