/** * Validate Upload Path * * Verifies that it is a valid upload path with proper permissions. * * @access public */ public function validate_upload_path() { if ($this->use_temp_dir) { $path = $this->_discover_temp_path(); if ($path) { $this->upload_path = $path; } else { $this->set_error('No usable temp directory found.'); return FALSE; } } return parent::validate_upload_path(); }