I've patched my shine install for prepending / before the path in the
s3 bucket.
If that's your issue, I'll dig up the patch
-jeff
Jeff Schilling
je...@manicwave.com
http://manicwave.com
On Jan 25, 1:05 am, Jeff Schilling <jeff.schill...@gmail.com> wrote:
> Where does it end up?
>
> I've patched my shine install for prepending / before the path in the
> s3 bucket.
>
> If that's your issue, I'll dig up the patch
>
> -jeff
>
> Jeff Schilling
> j...@manicwave.comhttp://manicwave.com
The only way to pull that off currently is to tweak the source.
In the top block of version-new.php, theres some code that calls out to send the file to S3.
$s3 = new S3($app->s3key, $app->s3pkey);
$s3->uploadFile($app->s3bucket, $object, $_FILES['file']['tmp_name'], true);
$v->insert();
I would imagine that you could comment those out. If you set the S3 path to the prefix to your download location, everything should still work (although I haven't tested it)
Good luck.
-jeff
You've honed in on the area that needs some tweaking.
I would suggest forking the code and adding some logic to deposit the file where you want in and update the v->url field appropriately.
I've been tweaking shine for my setup for a while now - the code is clean and pretty easy to follow.
Good luck.
-jeff