Home > Article > CMS Tutorial > Where is the tens of millions of data of Empire CMS?
Empire CMS data storage location: 1. Database (MySQL/MariaDB): articles, member information, categories, etc.; 2. File system: attachment files, template files, configuration files. The data path is configurable in the e/config/config.php file.
Empire CMS tens of millions of data storage locations
Empire CMS stores data in two main locations:
1. Database
Empire CMS uses MySQL or MariaDB database to store dynamic data, including:
These data are usually stored in a database named empirecms
in the database.
2. File system
Empire CMS will also store certain data in the file system, including:
/uploads/
directory. /templates/
directory. /e/config/config.php
file. Data path configuration
Empire CMS provides the function of configuring the data path through the e/config/config.php
configuration file. To view the data paths, open the file and look for the following lines:
<code class="php">$empirecms_tablepre = "empire_" // 表前缀 $empirecms_attachdir = "/uploads/"; //附件目录 $empirecms_templetdir = "/templates/"; //模板目录</code>
These paths can be modified as needed.
The above is the detailed content of Where is the tens of millions of data of Empire CMS?. For more information, please follow other related articles on the PHP Chinese website!