mirror of
https://github.com/grocy/grocy.git
synced 2025-10-03 05:38:52 +00:00
Finalize project reorganization
This commit is contained in:
@@ -2,14 +2,8 @@
|
||||
|
||||
namespace Grocy\Middleware;
|
||||
|
||||
class CliMiddleware
|
||||
class CliMiddleware extends BaseMiddleware
|
||||
{
|
||||
public function __construct(\Slim\Container $container) {
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
protected $container;
|
||||
|
||||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, callable $next)
|
||||
{
|
||||
if (PHP_SAPI !== 'cli')
|
||||
|
Reference in New Issue
Block a user