validate_upload_path() 공개 메소드

Verifies that it is a valid upload path with proper permissions.
public validate_upload_path ( ) : boolean
리턴 boolean
예제 #1
0
 /**
  * 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();
 }