public function setUploadpath($dir_name)
	{
		//set the value of upload_path property
		//set the upload path
		if($dir_name === null)	$this->upload_path = Registry::getConfig()['upload_path'];

		else $this->upload_path = $dir_name;
		
		return $this;
	}