[TYPO3-dev] [seo_basics] Bugfix for realurl string pointer
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Jan 7 13:50:29 CET 2009
Martin Kutschker wrote: on 07.01.2009 11:58:
> Dmitry Dulepov schrieb:
>> Hi!
>>
>> Martin Kutschker wrote:
>>> You mean this is the correct way to do it? Extension A has to look up
>>> the Real URL config and manipulate it directly? I thought that there is
>>> an API to do that (the auto config feature).
>> Autoconfig only works if configuration does not exist at all. It is one time thing. Otherwise extensions can modify RealURL config if they want (it is easy because it is an array). The only possible problem is that different extensions may use the same names for prevars/postvars. This will create a conflict. Apart from this — no problem.
>
> I see. Still I don't like it when code fiddles with my configurations.
> They can be quite complex when you have multiple domains, etc. So my
> carefully crafted configuration may be destroyed and I have no chance to
> disable it.
It is one of the features of this extension, that it creates a realurl
configuration for "sitemap.xml". So if you install it, you are aware
that it changes realurl configuration. So if you don't like this, simply
don't use this extension.
Maybe a real API (PHP) for configuring realurl components would be a
good idea, but currently the configuration-array *is* the API. ;)
Cheers,
Ernesto
More information about the TYPO3-dev
mailing list