mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 21:33:01 +02:00
- next round of code improvements
This commit is contained in:
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
@@ -21,7 +19,7 @@ use Psr\Http\Message\ServerRequestInterface as Request;
|
||||
$app->get('/image/{path:.+}', function (Request $request, Response $response, array $args) use ($flextype) {
|
||||
if (Filesystem::has(PATH['entries'] . '/' . $args['path'])) {
|
||||
return $flextype['images']->getImageResponse($args['path'], $_GET);
|
||||
} else {
|
||||
return $response->withStatus(404);
|
||||
}
|
||||
|
||||
return $response->withStatus(404);
|
||||
});
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
@@ -5,9 +5,8 @@ declare(strict_types=1);
|
||||
/**
|
||||
* Flextype (http://flextype.org)
|
||||
* Founded by Sergey Romanenko and maintained Flextype Community.
|
||||
*
|
||||
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
|
||||
*/
|
||||
|
||||
namespace Flextype;
|
||||
|
||||
use Twig_Extension;
|
||||
|
Reference in New Issue
Block a user