- Fixed a bug within extension checking
This commit is contained in:
		
							parent
							
								
									0ad57c87df
								
							
						
					
					
						commit
						1a6d730298
					
				| @ -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]); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user