public function setWebPath()
    {
        $folder_array = explode(self::DS, $this->getUploadPath());
        $this->web_path = array_pop($folder_array);
    }
public function setWebPath()
    {
        $folder_array = explode(self::DS, $this->getUploadPath());
        $this->web_path = array_pop($folder_array);
    }
public function setWebPath ( ) { $ folder_array = explode ( self :: DS , $ this -> getUploadPath ( ) ) ; $ this -> web_path = array_pop ( $ folder_array ) ; }
Set the correct web path
Set the correct web path