Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility and security issues [BREAKING CHANGE] #76

Merged
merged 15 commits into from
Dec 27, 2022
Merged
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ cp scripts/config.dist.php config.php
- Ensure you have an account created in your TrinityCore installation
- Check to make sure you have the necessary GM level set in `auth.account_access`

### 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:

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



This is to ensure direct navigation to the configuration file is not permitted.
9 changes: 0 additions & 9 deletions SQL/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions SQL/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
9 changes: 0 additions & 9 deletions SQL/update/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions SQL/update/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
9 changes: 0 additions & 9 deletions backup/accounts/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions backup/accounts/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
9 changes: 0 additions & 9 deletions backup/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions backup/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
9 changes: 0 additions & 9 deletions doc/captcha/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions doc/captcha/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
9 changes: 0 additions & 9 deletions doc/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions doc/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

header('Location: /');
Loading