Router.php
public function rule($key, $regex){
		if(!array_key_exists($key, $this->rules))
			$this->rules[$key] = $regex;
	}
public function rule($key, $regex){
		if(!array_key_exists($key, $this->rules))
			$this->rules[$key] = $regex;
	}
public function rule ( $ key , $ regex ) { if ( ! array_key_exists ( $ key , $ this -> rules ) ) $ this -> rules [ $ key ] = $ regex ; }
aggiungi una nuova regola
aggiungi una nuova regola