-
Hi all
Currently we must define path as string but it is good to have ability of define as Array :
middleware-pipeline.global.php:
'm2' => [
'middleware' => [
App\M…
-
In an Expressive app, I've been trying to do some logic based on the route path in a middleware where the path is set to a specific value ('/rest').
``` php
return [
'middleware_pipeline' => [
…
-
Using the skeleton project I changed `PingAction` to this:
``` php
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next = null)
{
$res…
-
I found this bug when I was tracking down why an internal application was throwing an error in one of my post-route-matched middleware to configure NewRelic. To my surprise, a route that is not matche…
-
Debian Jessie
Yunohost 2.5 beta
Warning: ERROR 1146 (42S02) at line 1: Table 'flarum.api_keys' doesn't exist
Error: Installation failed
nimch updated
7 years ago
-
Some config keys have a vendor and/or package name like `whoops` or `zend-expressive` and some config keys have an independent name like `templates` or `routes`. There exists a discussion #155 about c…
-
Nginx + php 7
Flarum\Http\Exception\TokenMismatchException thrown with message ""
```
Stacktrace:
#29 Flarum\Http\Exception\TokenMismatchException in /workspace/FORUM/vendor/flarum/core/src/Forum/Co…
-
Hello.
I try to install flarum on my yunohost server.
I tried with Web Console and yunohost command line : each method failed to install...
I paste the log from command line installation :
…
-
A small micro-framework survey:
```php
// Slim Framework Team: Slim
$app->get('/hello/{name}', function ($request, $response, $args) {…});
// Sensiolabs: Silex
$app->get('/hello/{name}', functi…
-
![image](https://cloud.githubusercontent.com/assets/20934051/20365175/f4c65b3c-ac13-11e6-94b9-8cd7e92657f2.png)
When I click on `Sign Up` after solving captcha I am receiving that error.