ThinkPHP简单网站后台
程序员文章站
2024-01-10 08:49:58
...
初学ThinkPHP,部署步骤: ckeditor需要自行下载,对应目录thinkphp-ozgweb/Public/simple/js/ckeditor thinkphp(完整版)需要自行下载,然后把ThinkPHP复制到本网站的根目录,对应目录thinkphp-ozgweb/ThinkPHP 后台入口:thinkphp-ozgweb/simple/admin/ind
初学ThinkPHP,部署步骤:
ckeditor需要自行下载,对应目录thinkphp-ozgweb/Public/simple/js/ckeditor
thinkphp(完整版)需要自行下载,然后把ThinkPHP复制到本网站的根目录,对应目录thinkphp-ozgweb/ThinkPHP
后台入口:thinkphp-ozgweb/simple/admin/index
后台用户密码都是admin。暂无前台。
下载地址:https://github.com/ouzhigang/thinkphp-ozgweb
PHP ThinkPHP jQuery
"ozgweb", "page_size" => 16, //后台菜单,只支持3级 "admin_menu_list" => [ array( "id" => 1, "name" => "后台管理", "selected" => true, "child_menu" => array( array( "id" => 2, "name" => "数据管理", "child_menu" => array( array( "id" => 5, "name" => "分类列表", "url" => "dataclass_list.html", "param" => "type:1", #demo type:1,id:2 ), array( "id" => 6, "name" => "数据列表", "url" => "data_list.html", "param" => "type:1", ) ) ), array( "id" => 3, "name" => "区域管理", "child_menu" => array( array( "id" => 7, "name" => "区域管理1", "url" => "art_single.html", "param" => "id:1", ) ) ), array( "id" => 4, "name" => "管理员管理", "child_menu" => array( array( "id" => 8, "name" => "修改密码", "url" => "admin_pwd.html", ), array( "id" => 9, "name" => "管理员列表", "url" => "admin_list.html", ) ) ) ) ) ], 'DB_TYPE' => 'pdo', 'DB_DSN' => 'sqlite:simple.sqlite3', 'DB_PREFIX' => 'simple_', // 数据库表前缀 'DB_CHARSET' => 'utf8', // 数据库编码默认采用utf8 'DB_FIELDS_CACHE' => false, // 启用字段缓存 );
上一篇: 添加的网页视频代码怎么自动播放上一集
下一篇: PHP初学之运算符