Example #1
0
 /**
  * get the path of an uplaoded file
  *
  * @param string	$key
  * @return string|false
  */
 public static function upload_path($key)
 {
     return CCArr::get('tmp_name', CCIn::file($key, array('tmp_name' => false)));
 }