TrinityCore / minimanager

TrinityCore Web management tool
33 stars 39 forks source link
hacktoberfest php trinitycore wow

minimanager

TrinityCore Web management tool

Installation

Ensure you have ext-gmp and ext-mysqli extensions included and enabled on your installation of PHP.

The minimum required version of PHP is currently PHP 7.4. However, as support for 7.4 EOL'd in November 2022 , you should upgrade to PHP 8.0 as soon as possible.

A docker compose configuration has been provided for convenience. Note that you do not need to apply the mmfpm.sql when using the docker configuration - an init script does this during build.

docker-compose -f ./.docker/docker-compose.yml up -d

Configuration

Updates to existing minimanager installations

For older installations, a change was made to improve the security of the application (though in its current state, more work must be done). Ensure your config.php includes the following lines, preferably near the bottom:

if (!defined('HEADER_LOADED')) {
  header('Location: /');
}

This is to ensure direct navigation to the configuration file is not permitted.