Onethink will have a CommonConfconfig after the installation is complete. the PHP file is used to save database information, but the Conf file in the User module also contains a config. why don't I set the two databases to one when designing the PHP file to save database information? After onethink is installed, a Common/Conf/config. php file is generated to save the database information.
But there is also a config. php file in the Conf file under the User module to save the database information. Why didn't we set the two databases to one during the design?
Reply content:
After onethink is installed, a Common/Conf/config. php file is generated to save the database information.
But there is also a config. php file in the Conf file under the User module to save the database information. Why didn't we set the two databases to one during the design?
Tp mechanism. You can regard User as another project. Sometimes it is better to separate databases between different projects on the same website.