Skip to content

Commit

Permalink
ThinkPHP5.1-Admin第一个版本 && Git子模块独立thinkphp5.1内核
Browse files Browse the repository at this point in the history
  • Loading branch information
twbworld committed Sep 11, 2020
0 parents commit 0e10dba
Show file tree
Hide file tree
Showing 3,557 changed files with 736,601 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 这文件作用: 统一团队的编码风格,需安装插件实现
# https://editorconfig.org/

# 通常建议项目最顶层的配置文件设置该值,这样才会停止继续向上查找.editorconfig文件;查找的.editorconfig文件是从顶层开始读取的,类似变量作用域的效果,内部的.editorconfig文件属性优先级更高
root = true

[*]
# 编码格式.支持latin1/utf-8/utf-8-bom/utf-16be/utf-16le,不建议使用uft-8-bom.
charset = utf-8
# 定义换行符 [lf | cr | crlf]
end_of_line = lf
# 设置整数用于指定替代tab的列数.默认值就是indent_size的值,一般无需指定
tab_width = 4
# 缩进的大小
indent_size = 4
# 缩进的类型 [space | tab]
indent_style = space
# 文件是否以一个空白行结尾 [true | false]
insert_final_newline = true
# 是否除去换行行首的任意空白字符
trim_trailing_whitespace = true
# 一行限制字数,防止单行字数过多影响阅读
# max_line_length = 100

[*.{md,markdown}]
trim_trailing_whitespace = false

[*.{css,js,html,volt,phtml,vue}]
tab_width = 2
indent_size = 2
53 changes: 53 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# github显示的默认语言

*.js linguist-language=php
*.css linguist-language=php
*.html linguist-language=php





# 以下设置作用: 制定换行符规则

# 文件的行尾自动转换.如果是文本文件,则在文件入Git库时,行尾自动转换为LF.如果已经在入Git库中的文件的行尾是GRLF,则文件在入Git库时,不再转换为LF.
* text=auto

# 对于.txt文件,标记为文本文件,并进行行尾规范化.
*.txt text

# 对于图片文件,标记为非文本文件
*.jpg -text
*.jpeg -text
*.png -text
*.svg -text
*.ico -text

# 视为二进制文件,不进行比较(git diff)
*.sql binary
*.zip binary
*.xlsx binary
*.xls binary
*.docx binary
*.doc binary
*.pdf binary
*.pbxroj binary
*.db binary

# 对于.vcproj文件,标记为文本文件,在文件入Git库时进行规范化,行尾转换为LF.在检测到出工作目录时,行尾自动转换为GRLF.
*.vcproj text eol=crlf

# 标记为文本文件,在文件入Git库时进行规范化,即行尾为LF.在检出到工作目录时,行尾也不会转换为CRLF(即保持LF).
*.sh text eol=lf
*.go text eol=lf
*.md text eol=lf
*.markdown text eol=lf
*.py text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.toml text eol=lf
*.json text eol=lf
*.php text eol=lf
*.html text eol=lf
*.css text eol=lf
*.vue text eol=lf
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
!.gitignore
!.htaccess

#https_key
/public/.user.ini
/public/.well-known/


/vendor
/runtime
/public/cache
/public/images
/.project
/.idea
/.vs
/.vscode
/
/composer.lock
/composer.phar
/Thumbs.db
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "thinkphp"]
path = thinkphp
url = https://github.com/top-think/framework
Loading

0 comments on commit 0e10dba

Please sign in to comment.