Home  >  Article  >  CMS Tutorial  >  How to hide front-end information data in Empire CMS

How to hide front-end information data in Empire CMS

下次还敢
下次还敢Original
2024-04-17 02:42:15534browse

To hide Empire CMS front-end information, you can perform the following steps: Hide database information: Modify AllowShowData in config.php to false. Hide the background login page: modify adminLoginkey in config.php and modify empire_login_key in header.php. Hide the background management page: modify empire_Dir in config.php and rename the admin directory. Hide website version number: Replace all files containing the word EmpireCMS and modify the SiteVersion parameter. Hide contact information:

How to hide front-end information data in Empire CMS

##How Empire CMS hides front-end information data

Hide database information

    Find the
  • AllowShowData parameter in e/config/config.php and set it to false.
  • Log in to the backend, in
  • System ManagementSystem Configuration, select the column tab and display the number of records and Display column index is set to 0.

Hide the background login page

    Find
  • adminLoginkey## in e/config/config.php # Parameters and modify their values. Modify the
  • e/include/pub/header.php
  • file and replace the value of empire_login_key with your newly set adminLoginkey.
Hide the background management page

Find
    empire_Dir## in
  • e/config/config.php # parameter and modify its value so that it points to a new directory. Rename or delete the e/admin
  • directory.
  • Create a new directory and rename it to admin
  • . Copy all files in the
  • e/admin directory to this new directory.
  • Hide website version number

Search for all files containing the words

EmpireCMS
    and replace them with your own version number.
  • Log in to the background, and in System Management
  • System Configuration, set the SiteVersion parameter to a false value.
  • Hide contact information

Modify the

e/skin/default/templets/index.htm
    file, delete and contact Information related codes.
  • In the background, delete the user contact information in User Management
  • Manager.

The above is the detailed content of How to hide front-end information data in Empire CMS. 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