<?php
if (!class_exists('UploadBehavior')) {
	App::import('Behavior', 'Upload.Upload');
}
class FileImportBehavior extends UploadBehavior {

	function handleUploadedFile($modelAlias, $field, $tmp, $filePath) {
			return !rename($tmp, $filePath);
	}
}
?>
Add new behavior to bypass the is_uploaded_file check.
Add new behavior to bypass the is_uploaded_file check.

This is useful in importing from a directory already on the filesystem.
