1
0
mirror of https://github.com/flarum/core.git synced 2025-04-27 10:42:49 +02:00
Franz Liedke 7a6e208554
Split up HandleErrors middleware into distinct classes
These are completely distinct functionalities, toggled through the
system-wide debug flag. By moving the selection of the middleware
to use to the place where the middleware pipe is built, we make
the middleware itself be unaware of these flags. The two classes
are more focused on what they are doing, with the constructor
dependencies clearly representing their requirements.

In addition, this means we can just use the HandleErrorsWithWhoops
middleware in the installer, which means we do not need to worry
about how to inject a SettingsRepositoryInterface implementation
when flarum is not yet set up.
2018-08-22 07:58:50 +02:00
2018-08-22 09:34:18 +09:30
2018-06-30 12:31:12 +09:30
2018-06-20 13:20:31 +09:30
2018-06-20 13:20:31 +09:30
2018-06-20 13:20:31 +09:30
2016-11-16 15:47:12 +10:30
2018-06-20 13:20:31 +09:30
2018-08-02 23:15:24 +02:00
2017-12-31 20:48:23 +01:00

Flarum Core

This repository contains Flarum's core code. If you want to set up a forum, visit the main Flarum repository.

Contributing

Flarum is open-source and we would love your help building it! Please read the Contributing Guide to learn how you can help.

Description
No description provided
Readme 118 MiB
Languages
PHP 65.5%
JavaScript 14.2%
TypeScript 13.9%
Less 5.5%
Blade 0.7%
Other 0.2%