Home >CMS Tutorial >Empire CMS >What is the default password of Empire CMS and how to change it?

What is the default password of Empire CMS and how to change it?

下次还敢
下次还敢Original
2024-04-16 19:37:18845browse

The default password of Empire CMS is "phome". Method to change password: Backend change: Log in to the backend and change the password in "Manage Account". Configuration file changes: Replace "phome" with the new password in config.php. Database change: Run a SQL query to update the password to the new password.

What is the default password of Empire CMS and how to change it?

Empire CMS default password

Empire CMS default password is phome.

Change method

  1. Change through the background:

    • Log in to the Empire CMS background, Navigate to System Settings ->Manage Accounts.
    • Click the "Modify" button and enter a new password in the "New Password" and "Confirm Password" fields.
    • Click the "OK" button to save changes.
  2. Change through the configuration file:

    • Open e/config/config in the root directory of the Empire CMS .php file.
    • Find the following code:

      <code class="php">$empireconfig['founderpassword'] = 'phome';</code>
    • Replace phome with your new password.
    • Save and close the file.
  3. Changes via database:

    • Use a database management tool to connect to the Empire CMS database.
    • Run the following SQL query:

      <code class="sql">UPDATE `empire_admin` SET `password` = '新密码' WHERE `userid` = 1;</code>
    • where New password is the new password.

The above is the detailed content of What is the default password of Empire CMS and how to change it?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn