[TYPO3-piwik] piwikintegration: Trying to get it working ...
Kay Strobach
typo3 at kay-strobach.de
Thu Jun 21 10:28:29 CEST 2012
Hello Martin,
could you point me to the toolchain for either convert or create the new
TYPE of documentation for TYPO3 extensions?
I do currently investigate some options for excluding the localconf.php ;)
Regards
Kay
Am 18.06.2012 13:55, schrieb Martin Bless:
> Hello Kay,
>
>> otherwise i need to change the code and use some regexes to filter the
>> required options from localconf.php :(
>
> I don't think the problem can be solved that way.
>
> I think you are not safe to include the localconf.php from the context
> of a software package other than TYPO3. That's one of the reasons why
> the
>
> if (!defined ('TYPO3_MODE')) {
> die ('Access denied.');
> }
>
> is there. At least I haven't heard of an agreement of the TYPO3
> developers that the localconf.php is a file that should work in any
> context. Do you think we have such a convention?
>
> What about writing the necessary configuration values to a file that's
> owned by your extension and have Piwik import that? Your backend
> module could create that file. You could even check the date of the
> localconf.php and update the extra configuration file when necessary.
>
> greetings ...
>
> Martin
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the TYPO3-project-piwik
mailing list