router tweak
This commit is contained in:
		
							parent
							
								
									77b60d34f6
								
							
						
					
					
						commit
						7cd3071905
					
				@ -85,7 +85,7 @@ class Router {
 | 
			
		||||
                        if (strpos($keyParams[$i], '{') !== false) {
 | 
			
		||||
                            $keyParams[$i] = substr($keyParams[$i], 1, -1);
 | 
			
		||||
                            $this->parameters[$keyParams[$i]] = $pathParams[$i];
 | 
			
		||||
                            return $this->routes[$key]['file'];
 | 
			
		||||
                            return $this->routes[$key][$this->requestType];
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user