Topic: Make update file available in download archive?

Hi,
would it be possible to make the update.php file available as well for direct download?
That way I would only have to grab the patch/diff plus the update file ... no need for uploading.

Re: Make update file available in download archive?

the files is in the zips, like the changed files or the full package.

Re: Make update file available in download archive?

Gizzmo wrote:

the files is in the zips, like the changed files or the full package.

I think morepork wants to download only the update.php file and patch/diff - not the whole zip.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Make update file available in download archive?

Yes, pogenwurst is right.
It's just another option for updating an installation (if like me you don't have mods and can just use the patch file).
I like to be able to grab just those files I need via curl.

Re: Make update file available in download archive?

Well, then I'd either have to rename it so that it doesn't have the php file extension or disable PHP parsing for .php files in the download directories. Does anyone have the htaccess directives for the latter?

Edit: Nevermind. I'm switching to Lighttpd any day now, so there's no use doing this until then.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Make update file available in download archive?

you could do it with a little php hack in both apache and lighttpd, instead of uploading update.php make an update.php that sends the browser a download header and the php file.

Re: Make update file available in download archive?

Yes, but I don't want to have to do that. It works differently in a lot of browsers (particularly on macos).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Make update file available in download archive?

ok, but surely you can make php send the same headers apache/lighttpd would?

Re: Make update file available in download archive?

I don't think the fact that it's in a zip is the issue here - just that morepork doesn't want to download all the other files.

So you could just put the two files in a zip/targz/tarbz2, and you wouldn't have to worry about server configuration or anything.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Make update file available in download archive?

Yes, the pogenwurst solution would be the simplest and would work fine for me. smile
I'm sorry, I didn't mean this request to cause any undue trouble.