Skip to content

How to rename the EVO manager folder in EVO2? #1750

@q2apro

Description

@q2apro

After the update from EVO1 to EVO2 I wanted to rename the manager folder (like in EVO1) to have more security, so I:

  • edited file /assets/cache/siteManager.php and added this line:
<?php
define('MGR_DIR', 'managerhidden');
  • then I renamed the folder manager to managerhidden
  • but now when I navigate to /managerhidden it throws an error that other files in manager cannot be found

PHP Fatal error: require_once(): Failed opening required '/manager/includes/protect.inc.php' (include_path='.:/opt/sp/php7.4/lib/php') in /index.php on line 69

So the question is: How to rename the EVO manager folder in EVO2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions