discuz! X3.2 version, which is the template file, which is the template parsing class file

Source: Internet
Author: User
General PHP Project, at least to engage in a template class, template parsing class, compile files, cache files, and system variable files,
I do not know in the discuz!x3.2 version of these things in which directories?


Reply to discussion (solution)

Template class: \source\class\class_template.php, typically called the Checktplrefresh () method when the template () method is executed (both in \source\function\function_ core.php), and execute the parse_template compiled template, the compiled template can be viewed under \data\template
Cache: The Loadcache () method gets the cached data, Discuz uses the Pre_common_syscache table to cache (MEDIUMBLOB type binary) data (and of course the file cache), and the data in $_g is mostly obtained from this table.
System variables: Parameters set in discuz background (such as: $_g[' setting ') are stored in the Pre_common_setting table, but the data in $_g[' setting ' is actually from Pre_common_ The Syscache table in the CNAME is the setting data, it is in the background-"Tools-" Update the cache, click OK to perform the update is stored in the Pre_common_syscache table, the table also has other system variables, such as: Per user group permissions settings ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.