方案1:
root_dir
        –config
        –include
                                          news.php(基础处理类)
                                          member.php
                                          admin.php
        –lib(文件夹内放置smarty的相关文件)
        –templates
                –news
                –member
                –admin
        –templates_c
                –news
                –member
                –admin               
        –cache
                –news
                –member
                –admin
        –images
                –news
                –member
                –admin
        –js
        –css
                news.css
                member.css
                admin.css
        –news(新闻模块的php处理,例news_list.php,news_detail.php,news_insert.php诸如此类)
        –member(用户模块的php处理)
        –admin(管理模块的php处理)
        index.php

——————————————————-分割线————– ———————————————————–
方案2:
root_dir
        –config
        –include
                                          news.php(基础处理类)
                                          member.php
                                          admin.php
        –lib(文件夹内放置smarty的相关文件)
        –news(新闻模块)
                –templates
                –templates_c
                –cache
                –images
                –js
                –css
        –member(用户模块)
                –templates
                –templates_c
                –cache
                –images
                –js
                –css
        –admin(管理模块)
                –templates
                –templates_c
                –cache
                –images
                –js
                –css
        index.php

相关文章:

  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-06-20
  • 2022-12-23
  • 2021-06-07
  • 2021-10-21
猜你喜欢
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案