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 ...