[TYPO3-dev] WARNING!?? tslib_patcher, pp_chashchecker
Elmar Hinz
elmar07 at googlemail.com
Thu Aug 23 14:03:11 CEST 2007
Dmitry Dulepov [typo3] wrote:
> Dmitry Dulepov [typo3] wrote:
>> I just checked, it really uses set_no_cache(). Shame on extension's
>> author! This is the last thing to do in TYPO3!
>>
>> He should made a pi2 as USER_INT instead.
>
> By the way, there is no way for USER extension to say "I found that you
> should not cache me right now!". I think if there is such way, there
> will be no need for anyone to call $TSFE->set_no_cache(). I am going to
> look at it.
>
Hmm,
either it has to throw a no_cache signal then, wich would be no gain, or it
has to transform itself into a USER_INT marker, ... interesting idea.
I think it would make things more easy, if you could use the same plugin as
USER and as USER_INT. Currently that is not that simple. See my comments
here for the reasons.
http://bugs.typo3.org/view.php?id=5332
You could do something like this:
temp.myPlugin = USER_INT
temp.myPlugin {
USER_INT = 1
userFunc = ...
}
class tx_myPlugin {
function main($in, $conf) {
$this->pi_USER_INT_obj= eval2boolSomehow($conf['USER_INT']);
...
}
}
Regards
Elmar
More information about the TYPO3-dev
mailing list