[TYPO3-ect] PEAR extension praxis test
Daniel Brüßler
info at -remove-patchworking.de
Tue Sep 25 17:28:32 CEST 2007
Hello Elmar,
thanks :-) I corrected it, just have to upload it.
I keep on using the TYPO3-constants.
----
dirname has the minimum PHPversion 4.3.0, because there was a change
with the path, or PHP 5.0.0 .
I found also this to get the relative path:
$relativePath = basename(realpath(".."))
kind regards
Daniel
> /var/www/dbsv/typo3conf/pear/PEAR
> That is quickly fixed in line 20 of ext_localconf.php
> Today I discovered a really simple method to set pathes relative to the
> current file, independent of the "back path".
> $pearDir = dirname(__FILE__) . '/PEAR/';
>
> Could extension management haven been that simple since years?
> Regards
> Elmar
More information about the TYPO3-team-extension-coordination
mailing list