[pLog-svn] Path to Resources
Oscar Renalias
oscar at renalias.net
Tue Mar 13 16:58:11 EDT 2007
Will you take care of implementing it or would like me to do it?
On 13 Mar 2007, at 22:52, Reto Hugi wrote:
> that's ok for me, although I don't think this would conflict with the
> stability. hope we can really make the fix for 1.2.1 and make an
> exception with the locales...
>
> here is the pointer:
> http://bugs.lifetype.net/view.php?id=1215
>
>
> On 03/13/2007 09:27 PM, Oscar Renalias wrote:
>> Right now, we're going to do neither and this will have to move to
>> 1.2.1 or later. I'm not willing to compromise the stability of
>> something that has been tested for weeks now. For once, beta testers
>> have done an excellent job so far (I don't think we've ever got so
>> many!) and I don't want to throw that work away.
>>
>> Now for the next minor release, option C sounds reasonable to me. We
>> could so that it a full base url is input there, then the whole URL
>> would be used but if only a folder name is given, it'd be appended to
>> the current base_url to calculate the full final path to the file. I
>> like that.
>>
>> On 13 Mar 2007, at 22:08, Reto Hugi wrote:
>>
>>> Hi
>>>
>>> Since we let the webserver deliver our resources we depend on
>>> knowing
>>> the url to the resource folder (and not only the server path). At
>>> the
>>> moment this is hard coded as /gallery/ within
>>> baserequestgenerator.class.php which of course brakes other settings
>>> (mine for example).
>>>
>>> Now, I started working on a fix, but found out that there are too
>>> many
>>> solutions and I'd like to discuss this first. Some are easy but
>>> rely on
>>> correct user settings others are more robust.
>>>
>>> a) in baserequestgenerator get the setting from resource_folder,
>>> assume
>>> that the path is set relative to the lt install directory and
>>> does not
>>> start in a subdirectors: ./resourses is ok, ./files/blog is not ok.
>>>
>>> b) let the wizard move all resources to ./gallery/ automatically
>>> (maybe
>>> inform the user first) and remove the resource_folder setting
>>>
>>> c) add a new setting called resource_folder_url and per default
>>> set it
>>> to "base_url"./gallery/ and let the user adjust it to whatever it is
>>> (maybe even on another domain!?!)
>>>
>>> I'd go for the third solution, but was wondering what you guys
>>> think.
>>>
>>> cheers,
>>> reto
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://limedaley.com/mailman/listinfo/plog-svn
>>>
>>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list