Fetch the repository succeeded.
This action will force synchronization from 云淡风轻/Tp-admin, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
注意:项目测试请另行搭建环境并创建数据库(数据库配置 application/database.php), 切勿直接使用测试环境数据!
本项目相关开发文档:http://doc.zkii.net/web/#/7?page_id=54 访问密码:654321 如有问题可以直接QQ2398156504
Tp-admin 为开源项目,允许您把它用于任何地方,不受任何约束,欢迎 fork 项目。
RBAC
权限管理(用户、权限、节点、菜单控制)Http
服务组件(原生CURL
封装,兼容PHP多版本)
- PHP 版本不低于 PHP5.4,推荐使用 PHP7 以达到最优效果;
- 需开启 PATHINFO,不再支持 ThinkPHP 的 URL 兼容模式运行(源于如何优雅的展示)。
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
server {
listen 80;
server_name wealth.demo.cuci.cc;
root /home/wwwroot/ThinkAdmin;
index index.php index.html index.htm;
add_header X-Powered-Host $hostname;
fastcgi_hide_header X-Powered-By;
if (!-e $request_filename) {
rewrite ^/(.+?\.php)/?(.*)$ /$1/$2 last;
rewrite ^/(.*)$ /index.php/$1 last;
}
location ~ \.php($|/){
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
set $real_script_name $fastcgi_script_name;
if ($real_script_name ~ "^(.+?\.php)(/.+)$") {
set $real_script_name $1;
}
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param PHP_VALUE open_basedir=$document_root:/tmp/:/proc/;
access_log /home/wwwlog/domain_access.log access;
error_log /home/wwwlog/domain_error.log error;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
access_log off;
error_log off;
expires 30d;
}
location ~ .*\.(js|css)?$ {
access_log off;
error_log off;
expires 12h;
}
}
MIT
协议发布,任何人可以用在任何地方,不受约束*虽然本项目开发周期只有短短几天,但是关于此项目后期不再提供任何更新。除非有人反馈存在重大BUG。所以本版本也算是最终版了。开发中有任何问题均可QQ留言。Bye!
Sign in for post a comment
Comments ( 0 )