|
|
@ -1,13 +1,11 @@
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
use Flarum\Core;
|
|
|
|
use Flarum\Core;
|
|
|
|
use Psr\Http\Message\ResponseInterface as Response;
|
|
|
|
|
|
|
|
use Psr\Http\Message\ServerRequestInterface as Request;
|
|
|
|
|
|
|
|
use Zend\Diactoros\Server;
|
|
|
|
use Zend\Diactoros\Server;
|
|
|
|
use Zend\Stratigility\MiddlewarePipe;
|
|
|
|
use Zend\Stratigility\MiddlewarePipe;
|
|
|
|
|
|
|
|
|
|
|
|
// Instantiate the application, register providers etc.
|
|
|
|
// Instantiate the application, register providers etc.
|
|
|
|
$app = require __DIR__.'/system/bootstrap.php';
|
|
|
|
$app = require __DIR__.'/flarum/bootstrap.php';
|
|
|
|
|
|
|
|
|
|
|
|
// Set up everything we need for the frontend
|
|
|
|
// Set up everything we need for the frontend
|
|
|
|
$app->register('Flarum\Forum\ForumServiceProvider');
|
|
|
|
$app->register('Flarum\Forum\ForumServiceProvider');
|
|
|
|