src/Upload/UploadClass.php
public function setTargetdir()
	{
		//set the target dir
		$this->target_dir =  Path::base() . $this->upload_path;

		//check if the directory exists and create if not
		if( ! file_exists($this->target_dir)) mkdir($this->target_dir);

		return $this;

	}
public function setTargetdir()
	{
		//set the target dir
		$this->target_dir =  Path::base() . $this->upload_path;

		//check if the directory exists and create if not
		if( ! file_exists($this->target_dir)) mkdir($this->target_dir);

		return $this;

	}
public function setTargetdir ( ) { //set the target dir $ this -> target_dir = Path :: base ( ) . $ this -> upload_path ; //check if the directory exists and create if not if ( ! file_exists ( $ this -> target_dir ) ) mkdir ( $ this -> target_dir ) ; return $ this ; }
This method sets the upload target directory

@param null
@return \Object $this instance
This method sets the upload target directory