Commits

christiansalazar committed dc8eb2f

readme. get_file_path

  • Participants
  • Parent commits a1f4168

Comments (0)

Files changed (1)

 		printf("file -> [%s] [%s] [%s]\n",
 				$fd['id'],$fd['file_id'],$fd['filename']);
 
+	// QUERY THE REAL PATH FOR A GIVEN FILE ID
+
+	$real_path = Yii::app()->fileman->get_file_path($id, "18aac1a12");
+	// ..do what ever you want with this file...
+	printf("the real local path is: %s\n",$real_path);
+	
 	// REMOVE FILES
 	//
 	Yii::app()->fileman->remove_file($identity, "file1");