Merge branch 'master' of https://git.mcnd.ca/mcndave/lean
This commit is contained in:
commit
1241e188e9
3 files changed
+12
-5
No files matched your search
@@ -43,7 +43,7 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
||||
|
||||
public function throw404(ServerRequestInterface $request) : ResponseInterface
|
||||
{
|
||||
if ( getenv('DEBUG') && class_exists(\Picea\Asset\Asset::class) ) {
|
||||
if ( getenv('DEBUG') && $this->di->has(\Picea\Asset\Asset::class) ) {
|
||||
$params = $request->getServerParams();
|
||||
|
||||
$scpName = basename(explode('?', $params['REQUEST_URI'] ?? "", 2)[0]);
|
||||
|
||||
Reference in new issue
Block a user