Esempio n. 1
0
	public function validateResponse($templatePath, $templateFile){
		if(!file_exists($templatePath)){
			rifException::phpResponse(array(
				'message'=> $this->lng->__("The template folder __file__ does not exist.",array("file"=> $templateFile))
			));
		}
		if(!file_exists($templateFile)){
			rifException::phpResponse(array(
				'message'=> $this->lng->__("The template file __file__ does not exist.",array("file"=> $templateFile))
			));
		}
	}