本文转载,原文链接:https://discuz.dismall.com/thread-2791203-1-1.html
提供给低权限的用户查看。
DiscuzX2.5完整目录结构【source/class核心类库】
作者: cr180 / 整理日期:2012-4-21
DiscuzX2.5的文件实在太多了,程序已经差不多全部完成了模块化,连小地方都被模块化了。从2.5BATE发布到现在一直没有时间来帮助各位童鞋,所以特整理出DX2.5的完整目录结构供各位童鞋参考,某些地方可能存在标注错误,希望各位童鞋能及时纠正以免误导了大家。
AD:我开发的【超级管家】插件已经发布,集程序安全检测、数据优化、站长工具箱、防群发等功能,【超级管家】发布地址:www.appcuz.com
|-- /source/class 核心类库
|-- /source/class/adv 程序广告功能库
adv_article.php 门户文章页
adv_articlelist.php 门户文章列表页
adv_blog.php 空间日志
adv_cornerbanner.php 全局 右下角广告
adv_couplebanner.php 全局 对联广告
adv_custom.php 自定义广告
adv_feed.php 空间 动态广告
adv_float.php 全局 漂浮广告
adv_footerbanner.php 全局 页尾通栏广告
adv_headerbanner.php 全局 页头通栏广告
adv_intercat.php 论坛 分类间广告
adv_interthread.php 论坛/群组 帖间通栏广告
adv_search.php 搜索 右侧广告
adv_subnavbanner.php 全局 页头二级导航栏广告
adv_text.php 门户/论坛/群组/空间 格子广告
adv_thread.php 论坛/群组 帖内广告
adv_threadlist.php 论坛/群组 帖子列表帖位广告
|-- /source/class/block/forum DIY模块-论坛功能库
blockclass.php DIY模块语言包加载
block_activity.php 活动模块
block_activitycity.php 同城活动
block_activitynew.php 最新活动
block_forum.php 版块调用
block_thread.php 主题调用
block_threaddigest.php 精华主题
block_threadhot.php 热门主题
block_threadnew.php 最新主题
block_threadspecial.php 特殊主题
block_threadspecified.php 指定帖子
block_threadstick.php 置顶帖
block_trade.php 商品模块
block_tradehot.php 热门商品
block_tradenew.php 新商品
block_tradespecified.php 指定商品
|-- /source/class/block/group DIY模块-群组功能库
blockclass.php DIY模块语言包加载
block_group.php 群组模块
block_groupactivity.php 群组活动
block_groupactivitycity.php 同城活动
block_groupactivitynew.php 最新活动
block_grouphot.php 热门群组
block_groupnew.php 最新群组
block_groupspecified.php 指定群组
block_groupthread.php 群组帖子
block_groupthreadhot.php 群组热门贴
block_groupthreadnew.php 群组最新贴
block_groupthreadspecial.php 群组特殊主题
block_groupthreadspecified.php 群组指定贴
block_grouptrade.php 群组商品
block_grouptradehot.php 群组热门商品
block_grouptradenew.php 群组最新是行频
block_grouptradespecified.php 群组指定商品
|-- /source/class/block/html DIY模块-静态模块功能库
blockclass.php DIY模块语言包加载
block_adv.php 站点广告
block_announcement.php 站点公告模块
block_banner.php 图片横幅
block_blank.php 自定义HTML
block_forumtree.php 版块列表
block_friendlink.php 友情链接
block_google.php GOOGLE
block_line.php 分割线
block_myapp.php 漫游模块
block_search.php 搜索条
block_sort.php 分类信息
block_stat.php 数据统计
block_vedio.php 网络视频
commonblock_html.php
|-- /source/class/block/member DIY模块-会员模块功能库
blockclass.php DIY模块语言包加载
block_member.php 会员模块
block_membercredit.php 积分排行
block_membernew.php 最新会员
block_memberposts.php 发帖排行
block_membershow.php 竞价排行
block_memberspecial.php 特殊会员
block_memberspecified.php 指定会员
|-- /source/class/block/other DIY模块-其他类模块功能库
blockclass.php DIY模块语言包加载
block_otherfriendlink.php 友情链接
block_otherstat.php 统计模块
|-- /source/class/block/portal DIY模块-门户模块功能库
blockclass.php DIY模块语言包加载
block_article.php 文章模块
block_articlehot.php 热门文章
block_articlenew.php 最新文章
block_articlespecified.php 指定文章
block_portalcategory.php 频道栏目
block_topic.php 专题
block_topichot.php 热门专题
block_topicnew.php 最新专题
block_topicspecified.php 指定专题
|-- /source/class/block/space DIY模块-空间类模块功能库
blockclass.php DIY模块语言包加载
block_album.php 相册模块
block_albumnew.php 最新相册
block_albumspecified.php 指定相册
block_blog.php 日志模块
block_bloghot.php 热门日志
block_blognew.php 最新日志
block_blogspecified.php 指定日志
block_doing.php 记录模块
block_doinghot.php 热门记录
block_doingnew.php 最新记录
block_pic.php 图片模块
block_pichot.php 热门图片
block_picnew.php 最新图片
block_picspecified.php 指定图片
|-- /source/class/block/xml 后台-门户-第三方模块
blockclass.php DIY模块语言包加载
block_xml.php 第三方模块处理
|-- /source/class/cache 缓存库类
cache_file.php 文件缓存
cache_sql.php 数据库缓存
|-- /source/class/db 核心数据处理类
db_driver_mysql.php 内部SQL处理库
db_driver_mysql_slave.php db_driver_mysql扩展类库
|-- /source/class/discuz
discuz_admincp.php 后台程序处理类(后台活动、模块加载等)
discuz_application.php 全局变量设置类
discuz_base.php
discuz_block.php DIY模块数据过滤类?
discuz_censor.php 程序数据过滤审查处理类(后台关键词过滤)
discuz_core.php 全局变量设置(暂空)
discuz_cron.php 计划任务处理类
discuz_database.php 全局SQL语句处理类
discuz_error.php 程序错误信息输出类
discuz_ftp.php 远程附件处理类
discuz_memory.php 服务器内存优化处理类
discuz_model.php 核心变量处理类
discuz_panel.php 用户会话验证处理类?
discuz_patch.php 程序在线更新后期处理类?
discuz_process.php 进程锁类(多进程处理时防止资源占用过高)
discuz_rank.php
discuz_session.php 用户身份会话处理类
discuz_session_close.php 用户退出处理类
discuz_table.php 全局数据库优化处理类
discuz_table_archive.php
discuz_upgrade.php 程序在线更新功能类
discuz_upload.php 附件上传处理类
|-- /source/class/forum 论坛模块类库
forum_upload.php 论坛附件处理类
|-- /source/class/helper
helper_access.php
helper_dbtool.php
helper_form.php
helper_log.php
helper_manyou.php
helper_mobile.php
helper_notification.php
helper_page.php
helper_pm.php
helper_seo.php
helper_sysmessage.php
helper_util.php
|-- /source/class/lib
lib_tree.php
|-- /source/class/magic 道具脚本目录
magic_anonymouspost.php 匿名卡
magic_attachsize.php 附件增容卡
magic_bump.php 提升卡
magic_call.php 点名卡
magic_checkonline.php 雷达卡
magic_close.php 沉默卡
magic_detector.php 探测器
magic_doodle.php 涂鸦板
magic_downdateline.php 时光机
magic_flicker.php 彩虹炫
magic_friendnum.php 好友增容卡
magic_gift.php 红包卡
magic_highlight.php 变色卡
magic_hot.php 热点灯
magic_jack.php 千斤顶
magic_money.php 金钱卡
magic_namepost.php 照妖镜
magic_open.php 喧嚣卡
magic_repent.php 悔悟卡
magic_showip.php 窥视卡
magic_stick.php 置顶卡
magic_thunder.php 雷鸣之声
magic_updateline.php 救生圈
magic_visit.php 互访卡
|-- /source/class/memory 程序性能内存优化(文件名即为优化方式)
memory_driver_apc.php
memory_driver_eaccelerator.php
memory_driver_memcache.php
memory_driver_redis.php
memory_driver_xcache.php
|-- /source/class/seccode 验证码处理
|-- /source/class/secqaa 验证回答处理类
secqaa_calc.php
|-- /source/class/table SQL内部查询处理库
table_common_admincp_cmenu.php 处理数据表pre_common_admincp_cmenu
table_common_admincp_group.php 处理数据表pre_common_admincp_group
table_common_admincp_member.php 处理数据表pre_common_admincp_member
table_common_admincp_perm.php 处理数据表pre_common_admincp_perm
table_common_admincp_session.php 处理数据表pre_common_admincp_session
table_common_admingroup.php 处理数据表pre_common_admingroup
table_common_adminnote.php 处理数据表pre_common_adminnote
table_common_advertisement.php 处理数据表pre_common_advertisement
table_common_advertisement_custom.php 处理数据表pre_common_advertisement_custom
table_common_banned.php 处理数据表pre_common_banned
table_common_block.php 处理数据表pre_common_block
table_common_block_favorite.php 处理数据表pre_common_block_favorite
table_common_block_item.php 处理数据表pre_common_block_item
table_common_block_item_data.php 处理数据表pre_common_block_item_data
table_common_block_permission.php 处理数据表pre_common_block_permission
table_common_block_pic.php 处理数据表pre_common_block_pic
table_common_block_style.php 处理数据表pre_common_block_style
table_common_block_xml.php 处理数据表pre_common_block_xml
table_common_cache.php 处理数据表pre_common_cache
table_common_card.php 处理数据表pre_common_card
table_common_card_log.php 处理数据表pre_common_card_log
table_common_card_type.php 处理数据表pre_common_card_type
table_common_credit_log.php 处理数据表pre_common_credit_log
table_common_credit_rule.php 处理数据表pre_common_credit_rule
table_common_credit_rule_log.php 处理数据表pre_common_credit_rule_log
table_common_credit_rule_log_field.php 处理数据表pre_common_credit_rule_log_field
table_common_cron.php 处理数据表pre_common_cron
table_common_district.php 处理数据表pre_common_district
table_common_diy_data.php 处理数据表pre_common_diy_data
table_common_domain.php 处理数据表pre_common_domain
table_common_failedlogin.php 处理数据表pre_common_failedlogin
table_common_friendlink.php 处理数据表pre_common_friendlink
table_common_grouppm.php 处理数据表pre_common_grouppm
table_common_invite.php 处理数据表pre_common_invite
table_common_magic.php 处理数据表pre_common_magic
table_common_magiclog.php 处理数据表pre_common_magiclog
table_common_mailcron.php 处理数据表pre_common_mailcron
table_common_mailqueue.php 处理数据表pre_common_mailqueue
table_common_member.php 处理数据表pre_common_member
table_common_member_action_log.php 处理数据表pre_common_member_action_log
table_common_member_archive.php 处理数据表pre_common_member_archive
table_common_member_count.php 处理数据表pre_common_member_count
table_common_member_count_archive.php 处理数据表pre_common_member_count_archive
table_common_member_crime.php 处理数据表pre_common_member_crime
table_common_member_field_forum.php 处理数据表pre_common_member_field_forum
table_common_member_field_forum_archive.php 处理数据表pre_common_member_field_forum_archive
table_common_member_field_home.php 处理数据表pre_common_member_field_home
table_common_member_field_home_archive.php 处理数据表pre_common_member_field_home_archive
table_common_member_grouppm.php 处理数据表pre_common_member_grouppm
table_common_member_log.php 处理数据表pre_common_member_log
table_common_member_magic.php 处理数据表pre_common_member_magic
table_common_member_medal.php 处理数据表pre_common_member_medal
table_common_member_profile.php 处理数据表pre_common_member_profile
table_common_member_profile_archive.php 处理数据表pre_common_member_profile_archive
table_common_member_profile_setting.php 处理数据表pre_common_member_profile_setting
table_common_member_security.php 处理数据表pre_common_member_security
table_common_member_status.php 处理数据表pre_common_member_status
table_common_member_status_archive.php 处理数据表pre_common_member_status_archive
table_common_member_stat_field.php 处理数据表pre_common_member_stat_field
table_common_member_validate.php 处理数据表pre_common_member_validate
table_common_member_verify.php 处理数据表pre_common_member_verify
table_common_member_verify_info.php 处理数据表pre_common_member_verify_info
table_common_moderate.php 处理数据表pre_common_moderate
table_common_myapp.php 处理数据表pre_common_myapp
table_common_myinvite.php 处理数据表pre_common_myinvite
table_common_mytask.php 处理数据表pre_common_mytask
table_common_nav.php 处理数据表pre_common_nav
table_common_onlinetime.php 处理数据表pre_common_onlinetime
table_common_patch.php 处理数据表pre_common_patch
table_common_plugin.php 处理数据表pre_common_plugin
table_common_pluginvar.php 处理数据表pre_common_pluginvar
table_common_process.php 处理数据表pre_common_process
table_common_regip.php 处理数据表pre_common_regip
table_common_relatedlink.php 处理数据表pre_common_relatedlink
table_common_report.php 处理数据表pre_common_report
table_common_searchindex.php 处理数据表pre_common_searchindex
table_common_secquestion.php 处理数据表pre_common_secquestion
table_common_session.php 处理数据表pre_common_session
table_common_setting.php 处理数据表pre_common_setting
table_common_smiley.php 处理数据表pre_common_smiley
table_common_sphinxcounter.php 处理数据表pre_common_sphinxcounter
table_common_stat.php 处理数据表pre_common_stat
table_common_statuser.php 处理数据表pre_common_statuser
table_common_style.php 处理数据表pre_common_style
table_common_stylevar.php 处理数据表pre_common_stylevar
table_common_syscache.php 处理数据表pre_common_syscache
table_common_tag.php 处理数据表pre_common_tag
table_common_tagitem.php 处理数据表pre_common_tagitem
table_common_task.php 处理数据表pre_common_task
table_common_taskvar.php 处理数据表pre_common_taskvar
table_common_template.php 处理数据表pre_common_template
table_common_template_block.php 处理数据表pre_common_template_block
table_common_template_permission.php 处理数据表pre_common_template_permission
table_common_uin_black.php 处理数据表pre_common_uin_black
table_common_usergroup.php 处理数据表pre_common_usergroup
table_common_usergroup_field.php 处理数据表pre_common_usergroup_field
table_common_word.php 处理数据表pre_common_word
table_common_word_type.php 处理数据表pre_common_word_type
table_forum_access.php 处理数据表pre_forum_access
table_forum_activity.php 处理数据表pre_forum_activity
table_forum_activityapply.php 处理数据表pre_forum_activityapply
table_forum_announcement.php 处理数据表pre_forum_announcement
table_forum_attachment.php 处理数据表pre_forum_attachment
table_forum_attachment_exif.php 处理数据表pre_forum_attachment_exif
table_forum_attachment_n.php 处理数据表pre_forum_attachment_n
table_forum_attachment_unused.php 处理数据表pre_forum_attachment_unused
table_forum_attachtype.php 处理数据表pre_forum_attachtype
table_forum_bbcode.php 处理数据表pre_forum_bbcode
table_forum_collection.php 处理数据表pre_forum_collection
table_forum_collectioncomment.php 处理数据表pre_forum_collectioncomment
table_forum_collectionfollow.php 处理数据表pre_forum_collectionfollow
table_forum_collectioninvite.php 处理数据表pre_forum_collectioninvite
table_forum_collectionrelated.php 处理数据表pre_forum_collectionrelated
table_forum_collectionteamworker.php 处理数据表pre_forum_collectionteamworker
table_forum_collectionthread.php 处理数据表pre_forum_collectionthread
table_forum_creditslog.php 处理数据表pre_forum_creditslog
table_forum_debate.php 处理数据表pre_forum_debate
table_forum_debatepost.php 处理数据表pre_forum_debatepost
table_forum_faq.php 处理数据表pre_forum_faq
table_forum_forum.php 处理数据表pre_forum_forum
table_forum_forumfield.php 处理数据表pre_forum_forumfield
table_forum_forumrecommend.php 处理数据表pre_forum_forumrecommend
table_forum_forum_threadtable.php 处理数据表pre_forum_forum_threadtable
table_forum_groupcreditslog.php 处理数据表pre_forum_groupcreditslog
table_forum_groupfield.php 处理数据表pre_forum_groupfield
table_forum_groupinvite.php 处理数据表pre_forum_groupinvite
table_forum_grouplevel.php 处理数据表pre_forum_grouplevel
table_forum_groupuser.php 处理数据表pre_forum_groupuser
table_forum_imagetype.php 处理数据表pre_forum_imagetype
table_forum_medal.php 处理数据表pre_forum_medal
table_forum_medallog.php 处理数据表pre_forum_medallog
table_forum_memberrecommend.php 处理数据表pre_forum_memberrecommend
table_forum_moderator.php 处理数据表pre_forum_moderator
table_forum_modwork.php 处理数据表pre_forum_modwork
table_forum_onlinelist.php 处理数据表pre_forum_onlinelist
table_forum_optionvalue.php 处理数据表pre_forum_optionvalue
table_forum_order.php 处理数据表pre_forum_order
table_forum_poll.php 处理数据表pre_forum_poll
table_forum_polloption.php 处理数据表pre_forum_polloption
table_forum_pollvoter.php 处理数据表pre_forum_pollvoter
table_forum_post.php 处理数据表pre_forum_post
table_forum_postcache.php 处理数据表pre_forum_postcache
table_forum_postcomment.php 处理数据表pre_forum_postcomment
table_forum_postlog.php 处理数据表pre_forum_postlog
table_forum_poststick.php 处理数据表pre_forum_poststick
table_forum_post_location.php 处理数据表pre_forum_post_location
table_forum_post_tableid.php 处理数据表pre_forum_post_tableid
table_forum_promotion.php 处理数据表pre_forum_promotion
table_forum_ratelog.php 处理数据表pre_forum_ratelog
table_forum_relatedthread.php 处理数据表pre_forum_relatedthread
table_forum_replycredit.php 处理数据表pre_forum_replycredit
table_forum_rsscache.php 处理数据表pre_forum_rsscache
table_forum_spacecache.php 处理数据表pre_forum_spacecache
table_forum_statlog.php 处理数据表pre_forum_statlog
table_forum_thread.php 处理数据表pre_forum_thread
table_forum_threadaddviews.php 处理数据表pre_forum_threadaddviews
table_forum_threadclass.php 处理数据表pre_forum_threadclass
table_forum_threadclosed.php 处理数据表pre_forum_threadclosed
table_forum_threaddisablepos.php 处理数据表pre_forum_threaddisablepos
table_forum_threadimage.php 处理数据表pre_forum_threadimage
table_forum_threadlog.php 处理数据表pre_forum_threadlog
table_forum_threadmod.php 处理数据表pre_forum_threadmod
table_forum_threadpartake.php 处理数据表pre_forum_threadpartake
table_forum_threadpreview.php 处理数据表pre_forum_threadpreview
table_forum_threadrush.php 处理数据表pre_forum_threadrush
table_forum_threadtype.php 处理数据表pre_forum_threadtype
table_forum_trade.php 处理数据表pre_forum_trade
table_forum_tradecomment.php 处理数据表pre_forum_tradecomment
table_forum_tradelog.php 处理数据表pre_forum_tradelog
table_forum_typeoption.php 处理数据表pre_forum_typeoption
table_forum_typeoptionvar.php 处理数据表pre_forum_typeoptionvar
table_forum_typevar.php 处理数据表pre_forum_typevar
table_forum_warning.php 处理数据表pre_forum_warning
table_home_album.php 处理数据表pre_home_album
table_home_album_category.php 处理数据表pre_home_album_category
table_home_appcreditlog.php 处理数据表pre_home_appcreditlog
table_home_blacklist.php 处理数据表pre_home_blacklist
table_home_blog.php 处理数据表pre_home_blog
table_home_blogfield.php 处理数据表pre_home_blogfield
table_home_blog_category.php 处理数据表pre_home_blog_category
table_home_class.php 处理数据表pre_home_class
table_home_click.php 处理数据表pre_home_click
table_home_clickuser.php 处理数据表pre_home_clickuser
table_home_comment.php 处理数据表pre_home_comment
table_home_docomment.php 处理数据表pre_home_docomment
table_home_doing.php 处理数据表pre_home_doing
table_home_favorite.php 处理数据表pre_home_favorite
table_home_feed.php 处理数据表pre_home_feed
table_home_feed_app.php 处理数据表pre_home_feed_app
table_home_follow.php 处理数据表pre_home_follow
table_home_follow_feed.php 处理数据表pre_home_follow_feed
table_home_friend.php 处理数据表pre_home_friend
table_home_friendlog.php 处理数据表pre_home_friendlog
table_home_friend_request.php 处理数据表pre_home_friend_request
table_home_notification.php 处理数据表pre_home_notification
table_home_pic.php 处理数据表pre_home_pic
table_home_picfield.php 处理数据表pre_home_picfield
table_home_poke.php 处理数据表pre_home_poke
table_home_pokearchive.php 处理数据表pre_home_pokearchive
table_home_share.php 处理数据表pre_home_share
table_home_show.php 处理数据表pre_home_show
table_home_specialuser.php 处理数据表pre_home_specialuser
table_home_userapp.php 处理数据表pre_home_userapp
table_home_userappfield.php 处理数据表pre_home_userappfield
table_home_userapp_plying.php 处理数据表pre_home_userapp_plying
table_home_visitor.php 处理数据表pre_home_visitor
table_portal_article_content.php 处理数据表pre_portal_article_content
table_portal_article_count.php 处理数据表pre_portal_article_count
table_portal_article_related.php 处理数据表pre_portal_article_related
table_portal_article_title.php 处理数据表pre_portal_article_title
table_portal_article_trash.php 处理数据表pre_portal_article_trash
table_portal_attachment.php 处理数据表pre_portal_attachment
table_portal_category.php 处理数据表pre_portal_category
table_portal_category_permission.php 处理数据表pre_portal_category_permission
table_portal_comment.php 处理数据表pre_portal_comment
table_portal_rsscache.php 处理数据表pre_portal_rsscache
table_portal_topic.php 处理数据表pre_portal_topic
table_portal_topic_pic.php 处理数据表pre_portal_topic_pic
|-- /source/class/task 站点任务内置包
task_avatar.php 头像类任务
task_blog.php 发表日志任务
task_connect_bind.php QQ 帐号绑定任务
task_email.php 验证邮箱任务
task_friend.php 添加好友任务
task_gift.php 红包类任务
task_member.php 会员类任务
task_post.php 论坛帖子类任务
task_profile.php 完善用户资料任务
task_promotion.php 站点推广任务
|