Re: Gallery2 Patch



On Mon, 2005-12-05 at 11:41 -0600, Chad Files wrote:
> On 12/5/05, Nat Friedman <nat novell com> wrote:
> > Is there no way to detect which version of gallery the user has?
> 
> The only way I can think of is to hit the URL provided by the user and
> scan the source for something that is common to either Gallery1 or
> Gallery2.
> 
> The actual remote URL depends on the gallery version. So, right now,
> there is no way straightforward way to hit gallery and know what
> version is running.
> 

It probably would be safe to poke at the version2 script first and it
that returns 404 try the version 1 when you first create the gallery
account, then store the setting in the account.

--Larry




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]